mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1148925 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1b97cdd3c0
commit
9b32b71754
|
@ -24,8 +24,8 @@ import org.apache.activemq.management.TimeStatisticImpl;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The J2EE Statistics for the a Destination.
|
* The J2EE Statistics for the a Destination.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class DestinationStatistics extends StatsImpl {
|
public class DestinationStatistics extends StatsImpl {
|
||||||
|
|
||||||
|
@ -47,19 +47,20 @@ public class DestinationStatistics extends StatsImpl {
|
||||||
dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been acknowledged from the destination");
|
dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been acknowledged from the destination");
|
||||||
inflight = new CountStatisticImpl("inflight", "The number of messages dispatched but awaiting acknowledgement");
|
inflight = new CountStatisticImpl("inflight", "The number of messages dispatched but awaiting acknowledgement");
|
||||||
expired = new CountStatisticImpl("expired", "The number of messages that have expired");
|
expired = new CountStatisticImpl("expired", "The number of messages that have expired");
|
||||||
|
|
||||||
consumers = new CountStatisticImpl("consumers", "The number of consumers that that are subscribing to messages from the destination");
|
consumers = new CountStatisticImpl("consumers", "The number of consumers that that are subscribing to messages from the destination");
|
||||||
consumers.setDoReset(false);
|
consumers.setDoReset(false);
|
||||||
producers = new CountStatisticImpl("producers", "The number of producers that that are publishing messages to the destination");
|
producers = new CountStatisticImpl("producers", "The number of producers that that are publishing messages to the destination");
|
||||||
producers.setDoReset(false);
|
producers.setDoReset(false);
|
||||||
messages = new CountStatisticImpl("messages", "The number of messages that that are being held by the destination");
|
messages = new CountStatisticImpl("messages", "The number of messages that that are being held by the destination");
|
||||||
|
messages.setDoReset(false);
|
||||||
messagesCached = new PollCountStatisticImpl("messagesCached", "The number of messages that are held in the destination's memory cache");
|
messagesCached = new PollCountStatisticImpl("messagesCached", "The number of messages that are held in the destination's memory cache");
|
||||||
processTime = new TimeStatisticImpl("processTime", "information around length of time messages are held by a destination");
|
processTime = new TimeStatisticImpl("processTime", "information around length of time messages are held by a destination");
|
||||||
addStatistic("enqueues", enqueues);
|
addStatistic("enqueues", enqueues);
|
||||||
addStatistic("dispatched", dispatched);
|
addStatistic("dispatched", dispatched);
|
||||||
addStatistic("dequeues", dequeues);
|
addStatistic("dequeues", dequeues);
|
||||||
addStatistic("inflight", inflight);
|
addStatistic("inflight", inflight);
|
||||||
addStatistic("expired", expired);
|
addStatistic("expired", expired);
|
||||||
addStatistic("consumers", consumers);
|
addStatistic("consumers", consumers);
|
||||||
addStatistic("producers", producers);
|
addStatistic("producers", producers);
|
||||||
addStatistic("messages", messages);
|
addStatistic("messages", messages);
|
||||||
|
@ -74,7 +75,7 @@ public class DestinationStatistics extends StatsImpl {
|
||||||
public CountStatisticImpl getDequeues() {
|
public CountStatisticImpl getDequeues() {
|
||||||
return dequeues;
|
return dequeues;
|
||||||
}
|
}
|
||||||
|
|
||||||
public CountStatisticImpl getInflight() {
|
public CountStatisticImpl getInflight() {
|
||||||
return inflight;
|
return inflight;
|
||||||
}
|
}
|
||||||
|
@ -86,7 +87,7 @@ public class DestinationStatistics extends StatsImpl {
|
||||||
public CountStatisticImpl getConsumers() {
|
public CountStatisticImpl getConsumers() {
|
||||||
return consumers;
|
return consumers;
|
||||||
}
|
}
|
||||||
|
|
||||||
public CountStatisticImpl getProducers() {
|
public CountStatisticImpl getProducers() {
|
||||||
return producers;
|
return producers;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue