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 Details

  • Constructor Details

  • Method Details

    • setEntryLogUsageBuckets

      public void setEntryLogUsageBuckets(int[] usageBuckets)
    • getStatsLogger

      public StatsLogger getStatsLogger()
    • getMinorCompactionCounter

      public Counter getMinorCompactionCounter()
    • getMajorCompactionCounter

      public Counter getMajorCompactionCounter()
    • getEntryLocationCompactionCounter

      public Counter getEntryLocationCompactionCounter()
    • getReclaimedSpaceViaDeletes

      public Counter getReclaimedSpaceViaDeletes()
    • getReclaimedSpaceViaCompaction

      public Counter getReclaimedSpaceViaCompaction()
    • getReclaimFailedToDelete

      public Counter getReclaimFailedToDelete()
    • getDeletedLedgerCounter

      public Counter getDeletedLedgerCounter()
    • getGcThreadRuntime

      public OpStatsLogger getGcThreadRuntime()
    • getActiveEntryLogCountGauge

      public Gauge<Integer> getActiveEntryLogCountGauge()
    • getActiveEntryLogSpaceBytesGauge

      public Gauge<Long> getActiveEntryLogSpaceBytesGauge()
    • getEntryLogSpaceBytesGauge

      public Gauge<Long> getEntryLogSpaceBytesGauge()
    • getActiveLedgerCountGauge

      public Gauge<Integer> getActiveLedgerCountGauge()
    • getGcLedgerRuntime

      public OpStatsLogger getGcLedgerRuntime()
    • getCompactRuntime

      public OpStatsLogger getCompactRuntime()
    • getExtractMetaRuntime

      public OpStatsLogger getExtractMetaRuntime()
    • getEntryLogCompactRatioGauge

      public Gauge<Double> getEntryLogCompactRatioGauge()
    • getEntryLogUsageBuckets

      public int[] getEntryLogUsageBuckets()
    • getEntryLogUsageBucketsLeGauges

      public Gauge<Integer>[] getEntryLogUsageBucketsLeGauges()