- com
- pcbsys
- nirvana
- client
- nConnectionQueueListener
This interface should be implemented by classes wishing to register to receive asynchronous notifications from the internal connection queue. More...
#include <nConnectionQueueListener.h>
Public Member Functions | |
virtual void | queueUnBlocked (long waitTime, long queueSize, longlong eventsTx, longlong eventsRx)=0 |
This method is called by the nirvana API to notify a registered connection queue listener that the connection queue was blocked due to reaching it's high water mark for a period longer than that defined by the QueueBlockLimit but is now unblocked. More... | |
virtual void | reachedAccessWaitLimit (long waitTime, int queueSize, long eventsTx, long eventsRx)=0 |
This method is called by the nirvana API to notify a registered connection queue listener that the connection queue was unable to access the queue for a period longer than that defined by the QueueAccessWaitLimit. More... | |
virtual void | reachedHWM (long hwm, int queueSize)=0 |
This method is called by the nirvana API to notify a registered connection queue listener that the connection has hit it's high water mark. More... | |
virtual void | reachedLWM (long lwm, int queueSize)=0 |
This method is called by the nirvana API to notify a registered connection queue listener that the connection has hit it's low water mark. More... | |
virtual void | reachedPushWaitLimit (long waitTime, int queueSize, long eventsTx, long eventsRx)=0 |
This method is called by the nirvana API to notify a registered connection queue listener that the connection queue was unable to push an event to the queue for a period longer than that defined by the QueuePushWaitLimit. More... | |
virtual void | reachedQueueBlockLimit (long waitTime, int queueSize, long eventsTx, long eventsRx)=0 |
This method is called by the nirvana API to notify a registered connection queue listener that the connection queue was blocked due to reaching it's high water mark for a period longer than that defined by the QueueBlockLimit. More... | |
This interface should be implemented by classes wishing to register to receive asynchronous notifications from the internal connection queue.
Such notifications include:
Reaching high water mark
Reaching low water mark
Exceeding the time it should take to access the queue object
Exceeding the time it should take to push an event onto the queue
Exceeding the time for a queue to be blocked due to reaching its high water mark
These limits are configurable under the ClientTimeoutValues section in the Config tab of the Enterprise Manager
|
pure virtual |
This method is called by the nirvana API to notify a registered connection queue listener that the connection queue was blocked due to reaching it's high water mark for a period longer than that defined by the QueueBlockLimit but is now unblocked.
waitTime | the amount of time it took before the queue was unblocked |
queueSize | the current queue size |
eventsTx | the amount of events pushed by the connection |
eventsRx | the amount of events received by the connection |
|
pure virtual |
This method is called by the nirvana API to notify a registered connection queue listener that the connection queue was unable to access the queue for a period longer than that defined by the QueueAccessWaitLimit.
waitTime | the amount of time it took to gain access to the queue |
queueSize | the current queue size |
eventsTx | the amount of events pushed by the connection |
eventsRx | the amount of events received by the connection |
|
pure virtual |
This method is called by the nirvana API to notify a registered connection queue listener that the connection has hit it's high water mark.
hwm | the current high water mark setting |
queueSize | the current queue size |
|
pure virtual |
This method is called by the nirvana API to notify a registered connection queue listener that the connection has hit it's low water mark.
lwm | the current low water mark setting |
queueSize | the current queue size |
|
pure virtual |
This method is called by the nirvana API to notify a registered connection queue listener that the connection queue was unable to push an event to the queue for a period longer than that defined by the QueuePushWaitLimit.
waitTime | the amount of time it took to push the event to the queue |
queueSize | the current queue size |
eventsTx | the amount of events pushed by the connection |
eventsRx | the amount of events received by the connection |
|
pure virtual |
This method is called by the nirvana API to notify a registered connection queue listener that the connection queue was blocked due to reaching it's high water mark for a period longer than that defined by the QueueBlockLimit.
waitTime | the amount of time it took before the queue reached it's low water mark |
queueSize | the current queue size |
eventsTx | the amount of events pushed by the connection |
eventsRx | the amount of events received by the connection |