public static class ClientControl.QueueEventStream.Default extends Stream.Default implements ClientControl.QueueEventStream
ClientControl.QueueEventHandler.
This simply logs events at debug level and should only be used for diagnostic purposes. This may be extended to implement the notifications you wish to act upon.
ClientControl.QueueEventStream.Default| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
onCloseonErrorpublic void onUpperThresholdCrossed(SessionId sessionId, MessageQueuePolicy policy)
ClientControl.QueueEventStreamonUpperThresholdCrossed in interface ClientControl.QueueEventStreamsessionId - the client session identifierpolicy - the message queue policypublic void onLowerThresholdCrossed(SessionId sessionId, MessageQueuePolicy policy)
ClientControl.QueueEventStreamonLowerThresholdCrossed in interface ClientControl.QueueEventStreamsessionId - the client session identifierpolicy - the message queue policyCopyright © 2024 DiffusionData Limited. All rights reserved.