/** * This constructor is typically used to create a statistics object for a * {@link Destination} */ public JMSEndpointStatsImpl() { this(new CountStatisticImpl("messageCount", "Number of messages processed"), new CountStatisticImpl("pendingMessageCount", "Number of pending messages"), new CountStatisticImpl("expiredMessageCount", "Number of expired messages"), new TimeStatisticImpl("messageWaitTime", "Time spent by a message before being delivered"), new TimeStatisticImpl("messageRateTime", "Time taken to process a message (thoughtput rate)")); }
public NetworkBridgeStatistics() { enqueues = new CountStatisticImpl("enqueues", "The current number of enqueues this bridge has, which is the number of potential messages to be forwarded."); dequeues = new CountStatisticImpl("dequeues", "The current number of dequeues this bridge has, which is the number of messages received by the remote broker."); receivedCount = new CountStatisticImpl("receivedCount", "The number of messages that have been received by the NetworkBridge from the remote broker. Only applies for Duplex bridges."); addStatistic("enqueues", enqueues); addStatistic("dequeues", dequeues); addStatistic("receivedCount", receivedCount); }
public ConnectionStatistics() { enqueues = new CountStatisticImpl("enqueues", "The number of messages that have been sent to the connection"); dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been dispatched from the connection"); addStatistic("enqueues", enqueues); addStatistic("dequeues", dequeues); }
public RegionStatistics(boolean enabled) { advisoryDestinations = new CountStatisticImpl("advisoryTopics", "The number of advisory destinations in the region"); destinations = new CountStatisticImpl("destinations", "The number of regular (non-adivsory) destinations in the region"); allDestinations = new CountStatisticImpl("allDestinations", "The total number of destinations, including advisory destinations, in the region"); addStatistic("advisoryDestinations", advisoryDestinations); addStatistic("destinations", destinations); addStatistic("allDestinations", allDestinations); this.setEnabled(enabled); }
public ConnectorStatistics() { enqueues = new CountStatisticImpl("enqueues", "The number of messages that have been sent to the destination"); dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been dispatched from the destination"); consumers = new CountStatisticImpl("consumers", "The number of consumers that that are subscribing to messages from the destination"); messages = new CountStatisticImpl("messages", "The number of messages that that are being held by the destination"); messagesCached = new PollCountStatisticImpl("messagesCached", "The number of messages that are held in the destination's memory cache"); addStatistic("enqueues", enqueues); addStatistic("dequeues", dequeues); addStatistic("consumers", consumers); addStatistic("messages", messages); addStatistic("messagesCached", messagesCached); }
public SubscriptionStatistics(boolean enabled) { consumedCount = new CountStatisticImpl("consumedCount", "The number of messages that have been consumed by the subscription"); enqueues = new CountStatisticImpl("enqueues", "The number of messages that have been sent to the subscription"); dispatched = new CountStatisticImpl("dispatched", "The number of messages that have been dispatched from the subscription"); dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been acknowledged from the subscription"); inflightMessageSize = new SizeStatisticImpl("inflightMessageSize", "The size in bytes of messages dispatched but awaiting acknowledgement"); addStatistic("consumedCount", consumedCount); addStatistic("enqueues", enqueues); addStatistic("dispatched", dispatched); addStatistic("dequeues", dequeues); addStatistic("inflightMessageSize", inflightMessageSize); this.setEnabled(enabled); }
public JMSSessionStatsImpl(List producers, List consumers) { this.producers = producers; this.consumers = consumers; this.messageCount = new CountStatisticImpl("messageCount", "Number of messages exchanged"); this.pendingMessageCount = new CountStatisticImpl("pendingMessageCount", "Number of pending messages"); this.expiredMessageCount = new CountStatisticImpl("expiredMessageCount", "Number of expired messages"); this.messageWaitTime = new TimeStatisticImpl("messageWaitTime", "Time spent by a message before being delivered"); this.durableSubscriptionCount = new CountStatisticImpl("durableSubscriptionCount", "The number of durable subscriptions"); this.messageWaitTime = new TimeStatisticImpl("messageWaitTime", "Time spent by a message before being delivered"); this.messageRateTime = new TimeStatisticImpl("messageRateTime", "Time taken to process a message (thoughtput rate)"); // lets add named stats addStatistic("messageCount", messageCount); addStatistic("pendingMessageCount", pendingMessageCount); addStatistic("expiredMessageCount", expiredMessageCount); addStatistic("messageWaitTime", messageWaitTime); addStatistic("durableSubscriptionCount", durableSubscriptionCount); addStatistic("messageRateTime", messageRateTime); }
public DestinationStatistics() { enqueues = new CountStatisticImpl("enqueues", "The number of messages that have been sent to the destination"); dispatched = new CountStatisticImpl("dispatched", "The number of messages that have been dispatched from the destination"); dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been acknowledged from the destination"); forwards = new CountStatisticImpl("forwards", "The number of messages that have been forwarded to a networked broker from the destination"); inflight = new CountStatisticImpl("inflight", "The number of messages dispatched but awaiting acknowledgement"); 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.setDoReset(false); producers = new CountStatisticImpl("producers", "The number of producers that that are publishing messages to the destination"); producers.setDoReset(false); 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"); processTime = new TimeStatisticImpl("processTime", "information around length of time messages are held by a destination"); blockedSends = new CountStatisticImpl("blockedSends", "number of messages that have to wait for flow control"); blockedTime = new TimeStatisticImpl("blockedTime","amount of time messages are blocked for flow control"); messageSize = new SizeStatisticImpl("messageSize","Size of messages passing through the destination");
public MessageStoreStatistics(boolean enabled) { messageCount = new CountStatisticImpl("messageCount", "The number of messages in the store passing through the destination"); messageSize = new SizeStatisticImpl("messageSize","Size of messages in the store passing through the destination"); addStatistic("messageCount", messageCount); addStatistic("messageSize", messageSize); this.setEnabled(enabled); }
protected AbstractMessageStoreStatistics(boolean enabled, String countDescription, String sizeDescription) { messageCount = new CountStatisticImpl("messageCount", countDescription); messageSize = new SizeStatisticImpl("messageSize", sizeDescription); addStatistic("messageCount", messageCount); addStatistic("messageSize", messageSize); this.setEnabled(enabled); }
public NetworkBridgeStatistics() { enqueues = new CountStatisticImpl("enqueues", "The current number of enqueues this bridge has, which is the number of potential messages to be forwarded."); dequeues = new CountStatisticImpl("dequeues", "The current number of dequeues this bridge has, which is the number of messages received by the remote broker."); receivedCount = new CountStatisticImpl("receivedCount", "The number of messages that have been received by the NetworkBridge from the remote broker. Only applies for Duplex bridges."); addStatistic("enqueues", enqueues); addStatistic("dequeues", dequeues); addStatistic("receivedCount", receivedCount); }
public ConnectionStatistics() { enqueues = new CountStatisticImpl("enqueues", "The number of messages that have been sent to the connection"); dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been dispatched from the connection"); addStatistic("enqueues", enqueues); addStatistic("dequeues", dequeues); }
public ConnectionStatistics() { enqueues = new CountStatisticImpl("enqueues", "The number of messages that have been sent to the connection"); dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been dispatched from the connection"); addStatistic("enqueues", enqueues); addStatistic("dequeues", dequeues); }
public RegionStatistics(boolean enabled) { advisoryDestinations = new CountStatisticImpl("advisoryTopics", "The number of advisory destinations in the region"); destinations = new CountStatisticImpl("destinations", "The number of regular (non-adivsory) destinations in the region"); allDestinations = new CountStatisticImpl("allDestinations", "The total number of destinations, including advisory destinations, in the region"); addStatistic("advisoryDestinations", advisoryDestinations); addStatistic("destinations", destinations); addStatistic("allDestinations", allDestinations); this.setEnabled(enabled); }
public RegionStatistics(boolean enabled) { advisoryDestinations = new CountStatisticImpl("advisoryTopics", "The number of advisory destinations in the region"); destinations = new CountStatisticImpl("destinations", "The number of regular (non-adivsory) destinations in the region"); allDestinations = new CountStatisticImpl("allDestinations", "The total number of destinations, including advisory destinations, in the region"); addStatistic("advisoryDestinations", advisoryDestinations); addStatistic("destinations", destinations); addStatistic("allDestinations", allDestinations); this.setEnabled(enabled); }
public ConnectorStatistics() { enqueues = new CountStatisticImpl("enqueues", "The number of messages that have been sent to the destination"); dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been dispatched from the destination"); consumers = new CountStatisticImpl("consumers", "The number of consumers that that are subscribing to messages from the destination"); messages = new CountStatisticImpl("messages", "The number of messages that that are being held by the destination"); messagesCached = new PollCountStatisticImpl("messagesCached", "The number of messages that are held in the destination's memory cache"); addStatistic("enqueues", enqueues); addStatistic("dequeues", dequeues); addStatistic("consumers", consumers); addStatistic("messages", messages); addStatistic("messagesCached", messagesCached); }
public SubscriptionStatistics(boolean enabled) { consumedCount = new CountStatisticImpl("consumedCount", "The number of messages that have been consumed by the subscription"); enqueues = new CountStatisticImpl("enqueues", "The number of messages that have been sent to the subscription"); dispatched = new CountStatisticImpl("dispatched", "The number of messages that have been dispatched from the subscription"); dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been acknowledged from the subscription"); inflightMessageSize = new SizeStatisticImpl("inflightMessageSize", "The size in bytes of messages dispatched but awaiting acknowledgement"); addStatistic("consumedCount", consumedCount); addStatistic("enqueues", enqueues); addStatistic("dispatched", dispatched); addStatistic("dequeues", dequeues); addStatistic("inflightMessageSize", inflightMessageSize); this.setEnabled(enabled); }
public SubscriptionStatistics(boolean enabled) { consumedCount = new CountStatisticImpl("consumedCount", "The number of messages that have been consumed by the subscription"); enqueues = new CountStatisticImpl("enqueues", "The number of messages that have been sent to the subscription"); dispatched = new CountStatisticImpl("dispatched", "The number of messages that have been dispatched from the subscription"); dequeues = new CountStatisticImpl("dequeues", "The number of messages that have been acknowledged from the subscription"); inflightMessageSize = new SizeStatisticImpl("inflightMessageSize", "The size in bytes of messages dispatched but awaiting acknowledgement"); addStatistic("consumedCount", consumedCount); addStatistic("enqueues", enqueues); addStatistic("dispatched", dispatched); addStatistic("dequeues", dequeues); addStatistic("inflightMessageSize", inflightMessageSize); this.setEnabled(enabled); }
protected AbstractMessageStoreStatistics(boolean enabled, String countDescription, String sizeDescription) { messageCount = new CountStatisticImpl("messageCount", countDescription); messageSize = new SizeStatisticImpl("messageSize", sizeDescription); addStatistic("messageCount", messageCount); addStatistic("messageSize", messageSize); this.setEnabled(enabled); }
protected AbstractMessageStoreStatistics(boolean enabled, String countDescription, String sizeDescription) { messageCount = new CountStatisticImpl("messageCount", countDescription); messageSize = new SizeStatisticImpl("messageSize", sizeDescription); addStatistic("messageCount", messageCount); addStatistic("messageSize", messageSize); this.setEnabled(enabled); }