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); }
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); }