/** * 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 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); }
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"); addStatistic("enqueues", enqueues);
/** * 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)")); }
/** * 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)")); }
/** * 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)")); }
/** * 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 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 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 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 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); }
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"); addStatistic("enqueues", enqueues);
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"); addStatistic("enqueues", enqueues);
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"); addStatistic("enqueues", enqueues);
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"); 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"); 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"); addStatistic("enqueues", enqueues); addStatistic("dispatched", dispatched); addStatistic("dequeues", dequeues); addStatistic("inflight", inflight); addStatistic("expired", expired); addStatistic("consumers", consumers); addStatistic("producers", producers); addStatistic("messages", messages); addStatistic("messagesCached", messagesCached); addStatistic("processTime", processTime); }