java.lang.Object
io.lettuce.core.ConnectionEvents
public class ConnectionEvents extends Object
Close Events Facility. Can register/unregister CloseListener and fire a closed event to all registered listeners. This class
is part of the internal API and may change without further notice.
- Since:
- 3.0
- Author:
- Mark Paluch
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectionEvents.ReconnectInternal event when a reconnect is initiated.static classConnectionEvents.ResetInternal event when a channel is closed. -
Constructor Summary
Constructors Constructor Description ConnectionEvents() -
Method Summary
Modifier and Type Method Description voidaddListener(RedisConnectionStateListener listener)voidremoveListener(RedisConnectionStateListener listener)
-
Constructor Details
-
ConnectionEvents
public ConnectionEvents()
-
-
Method Details
-
addListener
-
removeListener
-