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

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

getQueueDepth method Next Page

getQueueDepth method


Synopsis

int ianywhere.qanywhere.client.QAManagerBase.getQueueDepth(
String queue,
short filter
)
throws QAException

Parameters
Throws
Remarks

Returns the depth of a queue, 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(String) method).

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

Returns

The number of messages.