Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
基于给定过滤器,返回所有队列的深度总和。
int QAManagerBase.getQueueDepth(short filter) throws QAException
filter filter 指示进来的消息、外发的消息或全部消息。
对于给定过滤器的所有队列中消息的数量。
QAException 类 如果出现错误,则抛出异常。
队列的进来深度是指尚未被接收(如使用 QAManagerBase.getMessage(String) 方法)的进来消息的数量。队列的外发深度是指尚未被传输到服务器的外发消息的数量(包括未提交的外发消息)。
有关可能的过滤器值的列表,请参见 QueueDepthFilter。