public class JMSSessionStatsImpl extends StatsImpl
enabled
Constructor and Description |
---|
JMSSessionStatsImpl(List producers,
List consumers) |
Modifier and Type | Method and Description |
---|---|
void |
dump(IndentPrinter out) |
JMSConsumerStatsImpl[] |
getConsumers() |
CountStatisticImpl |
getDurableSubscriptionCount() |
CountStatisticImpl |
getExpiredMessageCount() |
CountStatisticImpl |
getMessageCount() |
TimeStatisticImpl |
getMessageRateTime() |
TimeStatisticImpl |
getMessageWaitTime() |
CountStatisticImpl |
getPendingMessageCount() |
JMSProducerStatsImpl[] |
getProducers() |
void |
onCreateDurableSubscriber() |
void |
onRemoveDurableSubscriber() |
void |
reset()
Reset the statistic
|
void |
setEnabled(boolean enabled) |
String |
toString() |
addStatistic, getStatistic, getStatisticNames, getStatistics
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, updateSampleTime
public JMSSessionStatsImpl(List producers, List consumers)
public JMSProducerStatsImpl[] getProducers()
public JMSConsumerStatsImpl[] getConsumers()
public void reset()
Resettable
reset
in interface Resettable
reset
in class StatsImpl
public void setEnabled(boolean enabled)
setEnabled
in class StatisticImpl
enabled
- the enabled to setpublic CountStatisticImpl getMessageCount()
public CountStatisticImpl getPendingMessageCount()
public CountStatisticImpl getExpiredMessageCount()
public TimeStatisticImpl getMessageWaitTime()
public CountStatisticImpl getDurableSubscriptionCount()
public TimeStatisticImpl getMessageRateTime()
public String toString()
toString
in class StatisticImpl
public void dump(IndentPrinter out)
public void onCreateDurableSubscriber()
public void onRemoveDurableSubscriber()
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.