public interface TransactionLog
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Position> |
append(PulsarTransactionMetadata.TransactionMetadataEntry transactionMetadataEntry)
Append the transaction operation to the transaction log.
|
CompletableFuture<Void> |
closeAsync()
Close the transaction log.
|
void |
replayAsync(TransactionLogReplayCallback transactionLogReplayCallback)
Replay transaction log to load the transaction map.
|
void replayAsync(TransactionLogReplayCallback transactionLogReplayCallback)
transactionLogReplayCallback - the call back for replaying the transaction logCompletableFuture<Void> closeAsync()
CompletableFuture<Position> append(PulsarTransactionMetadata.TransactionMetadataEntry transactionMetadataEntry)
transactionMetadataEntry - PulsarTransactionMetadata.TransactionMetadataEntry transaction metadata entryCopyright © 2017–2021 Apache Software Foundation. All rights reserved.