Class CompactionStatsImpl

  • All Implemented Interfaces:
    org.apache.pulsar.common.policies.data.CompactionStats

    public class CompactionStatsImpl
    extends java.lang.Object
    implements org.apache.pulsar.common.policies.data.CompactionStats
    Statistics about compaction.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.pulsar.common.policies.data.CompactionStats

        getLastCompactionDurationTimeInMills, getLastCompactionFailedTimestamp, getLastCompactionRemovedEventCount, getLastCompactionSucceedTimestamp
    • Field Detail

      • lastCompactionRemovedEventCount

        public long lastCompactionRemovedEventCount
        The removed event count of last compaction.
      • lastCompactionSucceedTimestamp

        public long lastCompactionSucceedTimestamp
        The timestamp of last succeed compaction.
      • lastCompactionFailedTimestamp

        public long lastCompactionFailedTimestamp
        The timestamp of last failed compaction.
      • lastCompactionDurationTimeInMills

        public long lastCompactionDurationTimeInMills
        The duration time of last compaction.
    • Constructor Detail

      • CompactionStatsImpl

        public CompactionStatsImpl()
    • Method Detail

      • reset

        public void reset()