public interface TopicTransactionBufferRecoverCallBack
| Modifier and Type | Method and Description |
|---|---|
void |
handleSnapshot(TransactionBufferSnapshot snapshot)
Handle transactionBufferSnapshot.
|
void |
handleTxnEntry(Entry entry)
Handle transaction entry beyond the snapshot.
|
void |
noNeedToRecover()
No message with transaction has ever been sent.
|
void |
recoverComplete()
Topic transaction buffer recover complete.
|
void |
recoverExceptionally(Throwable e)
Topic transaction buffer recover exceptionally.
|
void recoverComplete()
void noNeedToRecover()
void handleSnapshot(TransactionBufferSnapshot snapshot)
snapshot - the transaction buffer snapshotvoid handleTxnEntry(Entry entry)
entry - the transaction message entryvoid recoverExceptionally(Throwable e)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.