public class MLTransactionSequenceIdGenerator extends Object implements ManagedLedgerInterceptor
ManagedLedgerInterceptor.PayloadProcessorHandle| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_LOCAL_TXN_ID |
| Constructor and Description |
|---|
MLTransactionSequenceIdGenerator() |
| Modifier and Type | Method and Description |
|---|---|
OpAddEntry |
beforeAddEntry(OpAddEntry op,
int numberOfMessages) |
CompletableFuture<Void> |
onManagedLedgerLastLedgerInitialize(String name,
LedgerHandle lh) |
void |
onManagedLedgerPropertiesInitialize(Map<String,String> propertiesMap) |
void |
onUpdateManagedLedgerInfo(Map<String,String> propertiesMap) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessPayloadBeforeEntryCache, processPayloadBeforeLedgerWritepublic 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 lh)
onManagedLedgerLastLedgerInitialize in interface ManagedLedgerInterceptorpublic void onUpdateManagedLedgerInfo(Map<String,String> propertiesMap)
onUpdateManagedLedgerInfo in interface ManagedLedgerInterceptorCopyright © 2017–2021 Apache Software Foundation. All rights reserved.