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

SQL Anywhere 11.0.1 » QAnywhere » QAnywhere Reference » QAnywhere C++ API reference » QAManagerBase class


getAllQueueDepth function

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


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 getMessage).

See Also

QueueDepthFilter class.


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