public interface MamaQueueMonitorCallback
MamaQueue.setQueueMonitorCallback ()
.Modifier and Type | Method and Description |
---|---|
void |
onHighWatermarkExceeded(MamaQueue queue,
long size)
Called when the specified high watermark threshold for the event queue
has been exceeded.
|
void |
onLowWatermark(MamaQueue queue,
long size)
Called when the number of events on the event queue go below the
specified low watermark.
|
void onHighWatermarkExceeded(MamaQueue queue, long size)
queue
- The MamaQueue for which the high watermark was exceeded.size
- The number of outstanding events on the event queue.void onLowWatermark(MamaQueue queue, long size)
queue
- The MamaQueue for which the high watermark was exceeded.size
- The number of outstanding events on the event queue.Copyright 2011 NYSE Technologies