public class EntryCacheManager extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
EntryCacheManager.EntryCacheDisabled |
| Modifier and Type | Field and Description |
|---|---|
protected static double |
MB |
protected ManagedLedgerFactoryMBeanImpl |
mlFactoryMBean |
| Constructor and Description |
|---|
EntryCacheManager(ManagedLedgerFactoryImpl factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
static Entry |
create(long ledgerId,
long entryId,
io.netty.buffer.ByteBuf data) |
EntryCache |
getEntryCache(ManagedLedgerImpl ml) |
long |
getMaxSize() |
long |
getSize() |
protected final ManagedLedgerFactoryMBeanImpl mlFactoryMBean
protected static final double MB
public EntryCacheManager(ManagedLedgerFactoryImpl factory)
public EntryCache getEntryCache(ManagedLedgerImpl ml)
public long getSize()
public long getMaxSize()
public void clear()
public static Entry create(long ledgerId, long entryId, io.netty.buffer.ByteBuf data)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.