Package org.apache.bookkeeper.mledger
Interface ManagedLedgerFactoryMXBean
-
- All Known Implementing Classes:
ManagedLedgerFactoryMBeanImpl
@LimitedPrivate @Stable public interface ManagedLedgerFactoryMXBeanJMX Bean interface for ManagedLedgerFactory stats.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetCacheHitsRate()Get the number of cache hits per second.doublegetCacheHitsThroughput()Get the amount of data is retrieved from the cache in byte/s.longgetCacheMaxSize()Get the configured maximum cache size.doublegetCacheMissesRate()Get the number of cache misses per second.doublegetCacheMissesThroughput()Get the amount of data is retrieved from the bookkeeper in byte/s.longgetCacheUsedSize()Get the size in byte used to store the entries payloads.longgetNumberOfCacheEvictions()Get the number of cache evictions during the last minute.intgetNumberOfManagedLedgers()Get the number of currently opened managed ledgers on the factory.
-
-
-
Method Detail
-
getNumberOfManagedLedgers
int getNumberOfManagedLedgers()
Get the number of currently opened managed ledgers on the factory.
-
getCacheUsedSize
long getCacheUsedSize()
Get the size in byte used to store the entries payloads.
-
getCacheMaxSize
long getCacheMaxSize()
Get the configured maximum cache size.
-
getCacheHitsRate
double getCacheHitsRate()
Get the number of cache hits per second.
-
getCacheMissesRate
double getCacheMissesRate()
Get the number of cache misses per second.
-
getCacheHitsThroughput
double getCacheHitsThroughput()
Get the amount of data is retrieved from the cache in byte/s.
-
getCacheMissesThroughput
double getCacheMissesThroughput()
Get the amount of data is retrieved from the bookkeeper in byte/s.
-
getNumberOfCacheEvictions
long getNumberOfCacheEvictions()
Get the number of cache evictions during the last minute.
-
-