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
- All Implemented Interfaces:
org.apache.activemq.management.Resettable,org.apache.activemq.management.Statistic,org.apache.activemq.management.Stats
public class PersistenceAdapterStatistics
extends org.apache.activemq.management.StatsImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.activemq.management.TimeStatisticImplprotected org.apache.activemq.management.TimeStatisticImplprotected org.apache.activemq.management.TimeStatisticImplprotected org.apache.activemq.management.TimeStatisticImplprotected org.apache.activemq.management.TimeStatisticImplFields inherited from class org.apache.activemq.management.StatisticImpl
enabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReadTime(long time) voidaddSlowCleanupTime(long time) voidaddSlowReadTime(long time) voidaddSlowWriteTime(long time) voidaddWriteTime(long time) org.apache.activemq.management.TimeStatisticImplorg.apache.activemq.management.TimeStatisticImplorg.apache.activemq.management.TimeStatisticImplorg.apache.activemq.management.TimeStatisticImplorg.apache.activemq.management.TimeStatisticImplvoidreset()voidsetEnabled(boolean enabled) voidMethods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, getStatistic, getStatisticNames, getStatisticsMethods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime
-
Field Details
-
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
-
-
Constructor Details
-
PersistenceAdapterStatistics
public PersistenceAdapterStatistics()
-
-
Method Details
-
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:
setEnabledin 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:
resetin interfaceorg.apache.activemq.management.Resettable- Overrides:
resetin classorg.apache.activemq.management.StatsImpl
-
setParent
-