public interface RedisConnectionStateListener
| Modifier and Type | Method and Description |
|---|---|
void |
onRedisConnected(RedisChannelHandler<?,?> connection)
Event handler for successful connection event.
|
void |
onRedisDisconnected(RedisChannelHandler<?,?> connection)
Event handler for disconnection event.
|
void |
onRedisExceptionCaught(RedisChannelHandler<?,?> connection,
Throwable cause)
Event handler for exceptions.
|
void onRedisConnected(RedisChannelHandler<?,?> connection)
connection - Source connection.void onRedisDisconnected(RedisChannelHandler<?,?> connection)
connection - Source connection.void onRedisExceptionCaught(RedisChannelHandler<?,?> connection, Throwable cause)
connection - Source connection.cause - Caught exception.Copyright © 2016. All rights reserved.