类 RangeEntryCacheManagerImpl
java.lang.Object
org.apache.bookkeeper.mledger.impl.cache.RangeEntryCacheManagerImpl
- 所有已实现的接口:
EntryCacheManager
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidclear()static Entrycreate(long ledgerId, long entryId, io.netty.buffer.ByteBuf data) static EntryImplcreate(org.apache.bookkeeper.client.api.LedgerEntry ledgerEntry, ManagedLedgerInterceptor interceptor) doublelonglonggetSize()voidremoveEntryCache(String name) voidupdateCacheEvictionWatermark(double cacheEvictionWatermark) voidupdateCacheSizeAndThreshold(long maxSize)
-
字段详细资料
-
mlFactoryMBean
-
MB
protected static final double MB- 另请参阅:
-
-
构造器详细资料
-
RangeEntryCacheManagerImpl
-
-
方法详细资料
-
getEntryCache
- 指定者:
getEntryCache在接口中EntryCacheManager
-
updateCacheSizeAndThreshold
public void updateCacheSizeAndThreshold(long maxSize) - 指定者:
updateCacheSizeAndThreshold在接口中EntryCacheManager
-
updateCacheEvictionWatermark
public void updateCacheEvictionWatermark(double cacheEvictionWatermark) -
removeEntryCache
- 指定者:
removeEntryCache在接口中EntryCacheManager
-
getSize
public long getSize()- 指定者:
getSize在接口中EntryCacheManager
-
getMaxSize
public long getMaxSize()- 指定者:
getMaxSize在接口中EntryCacheManager
-
getCacheEvictionWatermark
public double getCacheEvictionWatermark()- 指定者:
getCacheEvictionWatermark在接口中EntryCacheManager
-
clear
public void clear()- 指定者:
clear在接口中EntryCacheManager
-
create
-
create
public static EntryImpl create(org.apache.bookkeeper.client.api.LedgerEntry ledgerEntry, ManagedLedgerInterceptor interceptor)
-