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 C++ API reference » QAManagerBase class

 

getAllQueueDepth function

Syntax
qa_int QAManagerBase::getAllQueueDepth(
  qa_short filter
)
Parameters
  • filter   A filter indicating incoming messages, outgoing messages, or all messages.

Remarks

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

The depth of a queue is the number of messages which have not been received (for example, using QAManagerBasegetMessage).

See Also

QueueDepthFilter class.

Returns

The number of messages, or -1 if an error occurs.