Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » QAnywhere » QAnywhere API Reference » QAnywhere Java API reference » ianywhere.qanywhere.client package » Interface QAManagerBase

 

getQueueDepth method

Returns the total depth of all queues, based on a given filter.

Syntax
int ianywhere.qanywhere.client.QAManagerBase.getQueueDepth(
  short filter
)
Parameters
  • filter¬†¬† A filter indicating incoming messages, outgoing messages, or all messages.

Throws
Remarks

Returns the total depth of all queues, based on a given filter.

The depth of the queue is the number of messages that have not been received (for example, using the QAManagerBase.getMessage method), including uncommitted outgoing messages.

For a list of possible filter values, see Interface QueueDepthFilter.

See also

getMessage method

Returns

INTEGER - The number of messages in all queues for the given filter.