Class GarbageCollectorStats


  • @StatsDoc(name="bookie",
              category="server",
              help="Garbage Collector related stats")
    public class GarbageCollectorStats
    extends java.lang.Object
    A umbrella class for gc stats.
    • Constructor Detail

      • GarbageCollectorStats

        public GarbageCollectorStats​(StatsLogger statsLogger,
                                     java.util.function.Supplier<java.lang.Integer> activeEntryLogCountSupplier,
                                     java.util.function.Supplier<java.lang.Long> activeEntryLogSpaceBytesSupplier,
                                     java.util.function.Supplier<java.lang.Integer> activeLedgerCountSupplier,
                                     java.util.function.Supplier<java.lang.Double> entryLogCompactRatioSupplier,
                                     java.util.function.Supplier<int[]> usageBuckets)
    • Method Detail

      • setEntryLogUsageBuckets

        public void setEntryLogUsageBuckets​(int[] usageBuckets)
      • getMinorCompactionCounter

        public Counter getMinorCompactionCounter()
      • getMajorCompactionCounter

        public Counter getMajorCompactionCounter()
      • getReclaimedSpaceViaDeletes

        public Counter getReclaimedSpaceViaDeletes()
      • getReclaimedSpaceViaCompaction

        public Counter getReclaimedSpaceViaCompaction()
      • getReclaimFailedToDelete

        public Counter getReclaimFailedToDelete()
      • getDeletedLedgerCounter

        public Counter getDeletedLedgerCounter()
      • getActiveEntryLogCountGauge

        public Gauge<java.lang.Integer> getActiveEntryLogCountGauge()
      • getActiveEntryLogSpaceBytesGauge

        public Gauge<java.lang.Long> getActiveEntryLogSpaceBytesGauge()
      • getActiveLedgerCountGauge

        public Gauge<java.lang.Integer> getActiveLedgerCountGauge()
      • getExtractMetaRuntime

        public OpStatsLogger getExtractMetaRuntime()
      • getEntryLogCompactRatioGauge

        public Gauge<java.lang.Double> getEntryLogCompactRatioGauge()
      • getEntryLogUsageBuckets

        public int[] getEntryLogUsageBuckets()
      • getEntryLogUsageBucketsLeGauges

        public Gauge<java.lang.Integer>[] getEntryLogUsageBucketsLeGauges()