类 ManagedLedgerFactoryMBeanImpl
java.lang.Object
org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryMBeanImpl
- 所有已实现的接口:
ManagedLedgerFactoryMXBean
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明longCurrent number of entries in the cache.longCumulative number of entries evicted from the cache.doubleGet the number of cache hits per second.doubleGet the amount of data is retrieved from the cache in byte/s.longCumulative number of entries inserted into the cache.longGet the configured maximum cache size.doubleGet the number of cache misses per second.doubleGet the amount of data is retrieved from the bookkeeper in byte/s.longGet the size in byte used to store the entries payloads.longGet the number of cache evictions during the last minute.intGet the number of currently opened managed ledgers on the factory.voidvoidrecordCacheHit(long size) voidrecordCacheHits(int count, long totalSize) voidvoidrecordCacheMiss(int count, long totalSize) voidrecordNumberOfCacheEntriesEvicted(int count) voidrefreshStats(long period, TimeUnit unit)
-
构造器详细资料
-
ManagedLedgerFactoryMBeanImpl
- 抛出:
Exception
-
-
方法详细资料
-
refreshStats
-
recordCacheHit
public void recordCacheHit(long size) -
recordCacheHits
public void recordCacheHits(int count, long totalSize) -
recordCacheMiss
public void recordCacheMiss(int count, long totalSize) -
recordCacheEviction
public void recordCacheEviction() -
recordCacheInsertion
public void recordCacheInsertion() -
recordNumberOfCacheEntriesEvicted
public void recordNumberOfCacheEntriesEvicted(int count) -
getNumberOfManagedLedgers
public int getNumberOfManagedLedgers()从接口复制的说明:ManagedLedgerFactoryMXBeanGet the number of currently opened managed ledgers on the factory. -
getCacheUsedSize
public long getCacheUsedSize()从接口复制的说明:ManagedLedgerFactoryMXBeanGet the size in byte used to store the entries payloads.- 指定者:
getCacheUsedSize在接口中ManagedLedgerFactoryMXBean
-
getCacheMaxSize
public long getCacheMaxSize()从接口复制的说明:ManagedLedgerFactoryMXBeanGet the configured maximum cache size.- 指定者:
getCacheMaxSize在接口中ManagedLedgerFactoryMXBean
-
getCacheHitsRate
public double getCacheHitsRate()从接口复制的说明:ManagedLedgerFactoryMXBeanGet the number of cache hits per second.- 指定者:
getCacheHitsRate在接口中ManagedLedgerFactoryMXBean
-
getCacheMissesRate
public double getCacheMissesRate()从接口复制的说明:ManagedLedgerFactoryMXBeanGet the number of cache misses per second.- 指定者:
getCacheMissesRate在接口中ManagedLedgerFactoryMXBean
-
getCacheHitsThroughput
public double getCacheHitsThroughput()从接口复制的说明:ManagedLedgerFactoryMXBeanGet the amount of data is retrieved from the cache in byte/s. -
getCacheMissesThroughput
public double getCacheMissesThroughput()从接口复制的说明:ManagedLedgerFactoryMXBeanGet the amount of data is retrieved from the bookkeeper in byte/s. -
getNumberOfCacheEvictions
public long getNumberOfCacheEvictions()从接口复制的说明:ManagedLedgerFactoryMXBeanGet the number of cache evictions during the last minute. -
getCacheInsertedEntriesCount
public long getCacheInsertedEntriesCount()从接口复制的说明:ManagedLedgerFactoryMXBeanCumulative number of entries inserted into the cache. -
getCacheEvictedEntriesCount
public long getCacheEvictedEntriesCount()从接口复制的说明:ManagedLedgerFactoryMXBeanCumulative number of entries evicted from the cache. -
getCacheEntriesCount
public long getCacheEntriesCount()从接口复制的说明:ManagedLedgerFactoryMXBeanCurrent number of entries in the cache.
-