public interface SessionEventHandler
Modifier and Type | Method and Description |
---|---|
default void |
handleConnectionLostSessionEvent(SessionEvent.ConnectionLost event) |
default void |
handleHostHealthRestoredSessionEvent(SessionEvent.HostHealthRestored event) |
default void |
handleHostUnhealthySessionEvent(SessionEvent.HostUnhealthy event) |
default void |
handleReconnectedSessionEvent(SessionEvent.Reconnected event) |
void |
handleSessionEvent(SessionEvent event)
User specified handler for session events.
|
default void |
handleSlowConsumerHighWatermarkEvent(SessionEvent.SlowConsumerHighWatermark event) |
default void |
handleSlowConsumerNormalEvent(SessionEvent.SlowConsumerNormal event) |
default void |
handleStartStatusSessionEvent(SessionEvent.StartStatus event) |
default void |
handleStateRestoredSessionEvent(SessionEvent.StateRestored event) |
default void |
handleStopStatusSessionEvent(SessionEvent.StopStatus event) |
void handleSessionEvent(SessionEvent event)
Session user needs to implement this interface to receive different notification about session state.
event
- Session related eventdefault void handleStartStatusSessionEvent(SessionEvent.StartStatus event)
default void handleStopStatusSessionEvent(SessionEvent.StopStatus event)
default void handleConnectionLostSessionEvent(SessionEvent.ConnectionLost event)
default void handleReconnectedSessionEvent(SessionEvent.Reconnected event)
default void handleStateRestoredSessionEvent(SessionEvent.StateRestored event)
default void handleSlowConsumerHighWatermarkEvent(SessionEvent.SlowConsumerHighWatermark event)
default void handleSlowConsumerNormalEvent(SessionEvent.SlowConsumerNormal event)
default void handleHostUnhealthySessionEvent(SessionEvent.HostUnhealthy event)
default void handleHostHealthRestoredSessionEvent(SessionEvent.HostHealthRestored event)
Copyright © 2023 Bloomberg L.P.. All rights reserved.