public class MLTransactionLogInterceptor extends Object implements ManagedLedgerInterceptor
| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_LOCAL_TXN_ID |
| Constructor and Description |
|---|
MLTransactionLogInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
OpAddEntry |
beforeAddEntry(OpAddEntry op,
int numberOfMessages) |
CompletableFuture<Void> |
onManagedLedgerLastLedgerInitialize(String name,
LedgerHandle ledgerHandle) |
void |
onManagedLedgerPropertiesInitialize(Map<String,String> propertiesMap) |
void |
onUpdateManagedLedgerInfo(Map<String,String> propertiesMap) |
protected void |
setMaxLocalTxnId(long maxLocalTxnId) |
public static final String MAX_LOCAL_TXN_ID
public OpAddEntry beforeAddEntry(OpAddEntry op, int numberOfMessages)
beforeAddEntry in interface ManagedLedgerInterceptorpublic void onManagedLedgerPropertiesInitialize(Map<String,String> propertiesMap)
onManagedLedgerPropertiesInitialize in interface ManagedLedgerInterceptorpublic CompletableFuture<Void> onManagedLedgerLastLedgerInitialize(String name, LedgerHandle ledgerHandle)
onManagedLedgerLastLedgerInitialize in interface ManagedLedgerInterceptorpublic void onUpdateManagedLedgerInfo(Map<String,String> propertiesMap)
onUpdateManagedLedgerInfo in interface ManagedLedgerInterceptorprotected void setMaxLocalTxnId(long maxLocalTxnId)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.