Interface ClientControl.QueueEventStream
- All Known Implementing Classes:
ClientControl.QueueEventStream.Default
- Enclosing interface:
- ClientControl
Handler for client queue events.
An implementation can be registered using
ClientControl.setQueueEventHandler(QueueEventStream)
.
- Since:
- 6.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
This provides a default implementation ofClientControl.QueueEventStream
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onLowerThresholdCrossed
(SessionId sessionId, MessageQueuePolicy policy) The configured lower threshold for a client's queue has been reached.void
onUpperThresholdCrossed
(SessionId sessionId, MessageQueuePolicy policy) The configured upper threshold for a client's queue has been reached.
-
Method Details
-
onUpperThresholdCrossed
The configured upper threshold for a client's queue has been reached.- Parameters:
sessionId
- the client session identifierpolicy
- the message queue policy
-
onLowerThresholdCrossed
The configured lower threshold for a client's queue has been reached.- Parameters:
sessionId
- the client session identifierpolicy
- the message queue policy
-