public class ConnectionEvents extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConnectionEvents.Close |
static class |
ConnectionEvents.PrepareClose |
Constructor and Description |
---|
ConnectionEvents() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(RedisConnectionStateListener listener) |
protected void |
fireEventRedisConnected(RedisChannelHandler<?,?> connection) |
protected void |
fireEventRedisDisconnected(RedisChannelHandler<?,?> connection) |
protected void |
fireEventRedisExceptionCaught(RedisChannelHandler<?,?> connection,
Throwable cause) |
void |
removeListener(RedisConnectionStateListener listener) |
protected void fireEventRedisConnected(RedisChannelHandler<?,?> connection)
protected void fireEventRedisDisconnected(RedisChannelHandler<?,?> connection)
protected void fireEventRedisExceptionCaught(RedisChannelHandler<?,?> connection, Throwable cause)
public void addListener(RedisConnectionStateListener listener)
public void removeListener(RedisConnectionStateListener listener)
Copyright © 2015. All rights reserved.