Class DbLedgerStorageStats
- java.lang.Object
-
- org.apache.bookkeeper.bookie.storage.ldb.DbLedgerStorageStats
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpStatsLogger
getAddEntryStats()
OpStatsLogger
getFlushEntryLogStats()
OpStatsLogger
getFlushLedgerIndexStats()
OpStatsLogger
getFlushLocationIndexStats()
OpStatsLogger
getFlushSizeStats()
OpStatsLogger
getFlushStats()
OpStatsLogger
getReadAheadBatchCountStats()
OpStatsLogger
getReadAheadBatchSizeStats()
Counter
getReadAheadTime()
Gauge<java.lang.Long>
getReadCacheCountGauge()
Counter
getReadCacheHitCounter()
Counter
getReadCacheMissCounter()
Gauge<java.lang.Long>
getReadCacheSizeGauge()
OpStatsLogger
getReadEntryStats()
Counter
getReadFromEntryLogTime()
Counter
getReadFromLocationIndexTime()
Counter
getRejectedWriteRequests()
Counter
getThrottledWriteRequests()
OpStatsLogger
getThrottledWriteStats()
Gauge<java.lang.Long>
getWriteCacheCountGauge()
Counter
getWriteCacheHitCounter()
Counter
getWriteCacheMissCounter()
Gauge<java.lang.Long>
getWriteCacheSizeGauge()
-
-
-
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
-
getAddEntryStats
public OpStatsLogger getAddEntryStats()
-
getReadEntryStats
public OpStatsLogger getReadEntryStats()
-
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()
-
getFlushStats
public OpStatsLogger getFlushStats()
-
getFlushEntryLogStats
public OpStatsLogger getFlushEntryLogStats()
-
getFlushLocationIndexStats
public OpStatsLogger getFlushLocationIndexStats()
-
getFlushLedgerIndexStats
public OpStatsLogger getFlushLedgerIndexStats()
-
getFlushSizeStats
public OpStatsLogger getFlushSizeStats()
-
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()
-
-