mirror of https://github.com/apache/activemq.git
nake inflight message count a little more explicit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@608414 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
082bbf0f06
commit
9899dff93d
|
@ -233,6 +233,10 @@ public class SubscriptionView implements SubscriptionViewMBean {
|
|||
public int getDispatchedQueueSize() {
|
||||
return subscription != null ? subscription.getDispatchedQueueSize() : 0;
|
||||
}
|
||||
|
||||
public int getMessageCountAwaitingAcknowledge() {
|
||||
return getDispatchedQueueSize();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return number of messages that matched the subscription
|
||||
|
|
|
@ -88,6 +88,13 @@ public interface SubscriptionViewMBean {
|
|||
* @return number of messages dispatched
|
||||
*/
|
||||
int getDispatchedQueueSize();
|
||||
|
||||
/**
|
||||
* The same as the number of messages dispatched -
|
||||
* making it explicit
|
||||
* @return
|
||||
*/
|
||||
int getMessageCountAwaitingAcknowledge();
|
||||
|
||||
/**
|
||||
* @return number of messages that matched the subscription
|
||||
|
|
Loading…
Reference in New Issue