| Package | Description |
|---|---|
| org.apache.pulsar.transaction.coordinator |
Classes for implementing pulsar transaction coordinator.
|
| org.apache.pulsar.transaction.coordinator.impl |
Implementations of the transaction coordinator.
|
| Modifier and Type | Method and Description |
|---|---|
TxnMeta |
TxnMeta.addAckedPartitions(List<TransactionSubscription> subscriptions)
Add the list of acked partitions to the transaction.
|
TxnMeta |
TxnMeta.addProducedPartitions(List<String> partitions)
Add the list of produced partitions to the transaction.
|
TxnMeta |
TxnMeta.updateTxnStatus(TxnStatus newStatus,
TxnStatus expectedStatus)
Update the transaction stats from the newStatus only when
the current status is the expected expectedStatus.
|
| Modifier and Type | Method and Description |
|---|---|
List<TxnMeta> |
TransactionMetadataStore.getSlowTransactions(long timeout)
Get the transactions witch timeout is bigger than given timeout.
|
CompletableFuture<TxnMeta> |
TransactionMetadataStore.getTxnMeta(org.apache.pulsar.client.api.transaction.TxnID txnid)
Query the
TxnMeta of a given transaction txnid. |
| Modifier and Type | Method and Description |
|---|---|
List<TxnMeta> |
MLTransactionMetadataStore.getSlowTransactions(long timeout) |
CompletableFuture<TxnMeta> |
MLTransactionMetadataStore.getTxnMeta(org.apache.pulsar.client.api.transaction.TxnID txnID) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.