public class ConnectionEvents extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConnectionEvents.Activated
Internal event when a channel is activated.
|
static class |
ConnectionEvents.Close
Internal event when a channel is closed.
|
static class |
ConnectionEvents.PrepareClose
Internal event before a channel is closed.
|
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 © 2016. All rights reserved.