Class DbLedgerStorageStats


  • @StatsDoc(name="bookie",
              category="server",
              help="DbLedgerStorage related stats")
    class DbLedgerStorageStats
    extends java.lang.Object
    A umbrella class for db ledger storage stats with one instance per ledger directory.
    • Constructor Detail

      • DbLedgerStorageStats

        DbLedgerStorageStats​(StatsLogger stats,
                             java.util.function.Supplier<java.lang.Long> writeCacheSizeSupplier,
                             java.util.function.Supplier<java.lang.Long> writeCacheCountSupplier,
                             java.util.function.Supplier<java.lang.Long> readCacheSizeSupplier,
                             java.util.function.Supplier<java.lang.Long> readCacheCountSupplier)
    • Method Detail

      • getReadFromLocationIndexTime

        public Counter getReadFromLocationIndexTime()
      • getReadFromEntryLogTime

        public Counter getReadFromEntryLogTime()
      • getWriteCacheHitCounter

        public Counter getWriteCacheHitCounter()
      • getWriteCacheMissCounter

        public Counter getWriteCacheMissCounter()
      • getReadCacheHitCounter

        public Counter getReadCacheHitCounter()
      • getReadCacheMissCounter

        public Counter getReadCacheMissCounter()
      • getReadAheadBatchCountStats

        public OpStatsLogger getReadAheadBatchCountStats()
      • getReadAheadBatchSizeStats

        public OpStatsLogger getReadAheadBatchSizeStats()
      • getReadAheadTime

        public Counter getReadAheadTime()
      • getFlushEntryLogStats

        public OpStatsLogger getFlushEntryLogStats()
      • getFlushLocationIndexStats

        public OpStatsLogger getFlushLocationIndexStats()
      • getFlushLedgerIndexStats

        public OpStatsLogger getFlushLedgerIndexStats()
      • getThrottledWriteRequests

        public Counter getThrottledWriteRequests()
      • getThrottledWriteStats

        public OpStatsLogger getThrottledWriteStats()
      • getRejectedWriteRequests

        public Counter getRejectedWriteRequests()
      • getWriteCacheSizeGauge

        public Gauge<java.lang.Long> getWriteCacheSizeGauge()
      • getWriteCacheCountGauge

        public Gauge<java.lang.Long> getWriteCacheCountGauge()
      • getReadCacheSizeGauge

        public Gauge<java.lang.Long> getReadCacheSizeGauge()
      • getReadCacheCountGauge

        public Gauge<java.lang.Long> getReadCacheCountGauge()