Package io.lettuce.core.protocol
Interface ReconnectionListener
-
public interface ReconnectionListener
Listener for reconnection events.- Since:
- 4.2
- Author:
- Mark Paluch
-
-
Field Summary
Fields Modifier and Type Field Description static ReconnectionListener
NO_OP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onReconnectAttempt(ConnectionEvents.Reconnect reconnect)
Listener method notified on a reconnection attempt.
-
-
-
Field Detail
-
NO_OP
static final ReconnectionListener NO_OP
-
-
Method Detail
-
onReconnectAttempt
void onReconnectAttempt(ConnectionEvents.Reconnect reconnect)
Listener method notified on a reconnection attempt.- Parameters:
reconnect
- the event payload.
-
-