Class EntryCacheManager
- java.lang.Object
-
- org.apache.bookkeeper.mledger.impl.EntryCacheManager
-
public class EntryCacheManager extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classEntryCacheManager.EntryCacheDisabled
-
Field Summary
Fields Modifier and Type Field Description protected static doubleMBprotected ManagedLedgerFactoryMBeanImplmlFactoryMBean
-
Constructor Summary
Constructors Constructor Description EntryCacheManager(ManagedLedgerFactoryImpl factory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()static Entrycreate(long ledgerId, long entryId, io.netty.buffer.ByteBuf data)EntryCachegetEntryCache(ManagedLedgerImpl ml)longgetMaxSize()longgetSize()
-
-
-
Field Detail
-
mlFactoryMBean
protected final ManagedLedgerFactoryMBeanImpl mlFactoryMBean
-
MB
protected static final double MB
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EntryCacheManager
public EntryCacheManager(ManagedLedgerFactoryImpl factory)
-
-
Method Detail
-
getEntryCache
public EntryCache getEntryCache(ManagedLedgerImpl ml)
-
getSize
public long getSize()
-
getMaxSize
public long getMaxSize()
-
clear
public void clear()
-
create
public static Entry create(long ledgerId, long entryId, io.netty.buffer.ByteBuf data)
-
-