Class GarbageCollectorStats
java.lang.Object
org.apache.bookkeeper.bookie.stats.GarbageCollectorStats
@StatsDoc(name="bookie",
category="server",
help="Garbage Collector related stats")
public class GarbageCollectorStats
extends Object
A umbrella class for gc stats.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGarbageCollectorStats(StatsLogger statsLogger, Supplier<Integer> activeEntryLogCountSupplier, Supplier<Long> activeEntryLogSpaceBytesSupplier, Supplier<Long> entryLogSpaceBytesSupplier, Supplier<Integer> activeLedgerCountSupplier, Supplier<Double> entryLogCompactRatioSupplier, Supplier<int[]> usageBuckets) -
Method Summary
-
Field Details
-
statsLogger
-
-
Constructor Details
-
GarbageCollectorStats
public GarbageCollectorStats(StatsLogger statsLogger, Supplier<Integer> activeEntryLogCountSupplier, Supplier<Long> activeEntryLogSpaceBytesSupplier, Supplier<Long> entryLogSpaceBytesSupplier, Supplier<Integer> activeLedgerCountSupplier, Supplier<Double> entryLogCompactRatioSupplier, Supplier<int[]> usageBuckets)
-
-
Method Details
-
setEntryLogUsageBuckets
public void setEntryLogUsageBuckets(int[] usageBuckets) -
getStatsLogger
-
getMinorCompactionCounter
-
getMajorCompactionCounter
-
getEntryLocationCompactionCounter
-
getReclaimedSpaceViaDeletes
-
getReclaimedSpaceViaCompaction
-
getReclaimFailedToDelete
-
getDeletedLedgerCounter
-
getGcThreadRuntime
-
getActiveEntryLogCountGauge
-
getActiveEntryLogSpaceBytesGauge
-
getEntryLogSpaceBytesGauge
-
getActiveLedgerCountGauge
-
getGcLedgerRuntime
-
getCompactRuntime
-
getExtractMetaRuntime
-
getEntryLogCompactRatioGauge
-
getEntryLogUsageBuckets
public int[] getEntryLogUsageBuckets() -
getEntryLogUsageBucketsLeGauges
-