public class PersistenceAdapterStatistics extends org.apache.activemq.management.StatsImpl
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.activemq.management.TimeStatisticImpl |
readTime |
protected org.apache.activemq.management.TimeStatisticImpl |
writeTime |
| Constructor and Description |
|---|
PersistenceAdapterStatistics() |
| Modifier and Type | Method and Description |
|---|---|
void |
addReadTime(long time) |
void |
addWriteTime(long time) |
org.apache.activemq.management.TimeStatisticImpl |
getReadTime() |
org.apache.activemq.management.TimeStatisticImpl |
getWriteTime() |
void |
reset() |
void |
setEnabled(boolean enabled) |
void |
setParent(PersistenceAdapterStatistics parent) |
addStatistic, getStatistic, getStatisticNames, getStatisticsprotected org.apache.activemq.management.TimeStatisticImpl writeTime
protected org.apache.activemq.management.TimeStatisticImpl readTime
public PersistenceAdapterStatistics()
public void addWriteTime(long time)
public void addReadTime(long time)
public void setEnabled(boolean enabled)
setEnabled in class org.apache.activemq.management.StatisticImplpublic org.apache.activemq.management.TimeStatisticImpl getWriteTime()
public org.apache.activemq.management.TimeStatisticImpl getReadTime()
public void reset()
reset in interface org.apache.activemq.management.Resettablereset in class org.apache.activemq.management.StatsImplpublic void setParent(PersistenceAdapterStatistics parent)
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.