Package org.apache.activemq.store
Class PersistenceAdapterStatistics
- java.lang.Object
-
- org.apache.activemq.management.StatisticImpl
-
- org.apache.activemq.management.StatsImpl
-
- org.apache.activemq.store.PersistenceAdapterStatistics
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.activemq.management.TimeStatisticImpl
readTime
protected org.apache.activemq.management.TimeStatisticImpl
slowCleanupTime
protected org.apache.activemq.management.TimeStatisticImpl
slowReadTime
protected org.apache.activemq.management.TimeStatisticImpl
slowWriteTime
protected org.apache.activemq.management.TimeStatisticImpl
writeTime
-
Constructor Summary
Constructors Constructor Description PersistenceAdapterStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addReadTime(long time)
void
addSlowCleanupTime(long time)
void
addSlowReadTime(long time)
void
addSlowWriteTime(long time)
void
addWriteTime(long time)
org.apache.activemq.management.TimeStatisticImpl
getReadTime()
org.apache.activemq.management.TimeStatisticImpl
getSlowCleanupTime()
org.apache.activemq.management.TimeStatisticImpl
getSlowReadTime()
org.apache.activemq.management.TimeStatisticImpl
getSlowWriteTime()
org.apache.activemq.management.TimeStatisticImpl
getWriteTime()
void
reset()
void
setEnabled(boolean enabled)
void
setParent(PersistenceAdapterStatistics parent)
-
Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, getStatistic, getStatisticNames, getStatistics
-
-
-
-
Field Detail
-
slowCleanupTime
protected org.apache.activemq.management.TimeStatisticImpl slowCleanupTime
-
slowWriteTime
protected org.apache.activemq.management.TimeStatisticImpl slowWriteTime
-
slowReadTime
protected org.apache.activemq.management.TimeStatisticImpl slowReadTime
-
writeTime
protected org.apache.activemq.management.TimeStatisticImpl writeTime
-
readTime
protected org.apache.activemq.management.TimeStatisticImpl readTime
-
-
Method Detail
-
addSlowCleanupTime
public void addSlowCleanupTime(long time)
-
addSlowWriteTime
public void addSlowWriteTime(long time)
-
addSlowReadTime
public void addSlowReadTime(long time)
-
addWriteTime
public void addWriteTime(long time)
-
addReadTime
public void addReadTime(long time)
-
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled
in classorg.apache.activemq.management.StatisticImpl
-
getSlowCleanupTime
public org.apache.activemq.management.TimeStatisticImpl getSlowCleanupTime()
-
getSlowWriteTime
public org.apache.activemq.management.TimeStatisticImpl getSlowWriteTime()
-
getSlowReadTime
public org.apache.activemq.management.TimeStatisticImpl getSlowReadTime()
-
getWriteTime
public org.apache.activemq.management.TimeStatisticImpl getWriteTime()
-
getReadTime
public org.apache.activemq.management.TimeStatisticImpl getReadTime()
-
reset
public void reset()
- Specified by:
reset
in interfaceorg.apache.activemq.management.Resettable
- Overrides:
reset
in classorg.apache.activemq.management.StatsImpl
-
setParent
public void setParent(PersistenceAdapterStatistics parent)
-
-