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 EntryImpl |
create(org.apache.bookkeeper.client.api.LedgerEntry ledgerEntry,
ManagedLedgerInterceptor interceptor) |
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)
public static EntryImpl create(org.apache.bookkeeper.client.api.LedgerEntry ledgerEntry, ManagedLedgerInterceptor interceptor)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.