Class CompactionStatsImpl
java.lang.Object
org.apache.pulsar.common.policies.data.stats.CompactionStatsImpl
- All Implemented Interfaces:
CompactionStats
Statistics about compaction.
-
Field Summary
Modifier and TypeFieldDescriptionlong
The duration time of last compaction.long
The timestamp of last failed compaction.long
The removed event count of last compaction.long
The timestamp of last succeed compaction. -
Constructor Summary
-
Method Summary
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 Details
-
lastCompactionRemovedEventCount
public long lastCompactionRemovedEventCountThe removed event count of last compaction. -
lastCompactionSucceedTimestamp
public long lastCompactionSucceedTimestampThe timestamp of last succeed compaction. -
lastCompactionFailedTimestamp
public long lastCompactionFailedTimestampThe timestamp of last failed compaction. -
lastCompactionDurationTimeInMills
public long lastCompactionDurationTimeInMillsThe duration time of last compaction.
-
-
Constructor Details
-
CompactionStatsImpl
public CompactionStatsImpl()
-
-
Method Details
-
reset
public void reset()
-