Class PersistenceAdapterStatistics

  • All Implemented Interfaces:
    Statistic, Stats, org.apache.activemq.management.Resettable

    public class PersistenceAdapterStatistics
    extends org.apache.activemq.management.StatsImpl
    • 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
    • Constructor Detail

      • PersistenceAdapterStatistics

        public PersistenceAdapterStatistics()
    • 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 class org.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 interface org.apache.activemq.management.Resettable
        Overrides:
        reset in class org.apache.activemq.management.StatsImpl