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