Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
基于给定过滤器,返回所有队列的深度总和。
public virtual qa_int getAllQueueDepth(qa_short filter)
filter filter 指示进来的消息、外发的消息或全部消息。
消息的数量;如果发生错误,则返回 -1。
进来的队列深度是指尚未被接收(如使用 QAManagerBase::getMessage)的进来的消息数量。队列的外发深度是指尚未被传输到服务器的外发消息的数量(包括未提交的外发消息)。