Uses of Interface
org.apache.pulsar.transaction.coordinator.TxnMeta
Packages that use TxnMeta
Package
Description
Classes for implementing pulsar transaction coordinator.
Implementations of the transaction coordinator.
-
Uses of TxnMeta in org.apache.pulsar.transaction.coordinator
Methods in org.apache.pulsar.transaction.coordinator that return TxnMetaModifier and TypeMethodDescriptionTxnMeta.addAckedPartitions(List<TransactionSubscription> subscriptions) Add the list of acked partitions to the transaction.TxnMeta.addProducedPartitions(List<String> partitions) Add the list of produced partitions to the transaction.TxnMeta.updateTxnStatus(TxnStatus newStatus, TxnStatus expectedStatus) Update the transaction stats from the newStatus only when the current status is the expected expectedStatus.Methods in org.apache.pulsar.transaction.coordinator that return types with arguments of type TxnMetaModifier and TypeMethodDescriptionTransactionMetadataStore.getSlowTransactions(long timeout) Get the transactions witch timeout is bigger than given timeout.TransactionMetadataStore.getTxnMeta(org.apache.pulsar.client.api.transaction.TxnID txnid) Query theTxnMetaof a given transaction txnid. -
Uses of TxnMeta in org.apache.pulsar.transaction.coordinator.impl
Methods in org.apache.pulsar.transaction.coordinator.impl that return types with arguments of type TxnMetaModifier and TypeMethodDescriptionMLTransactionMetadataStore.getSlowTransactions(long timeout) MLTransactionMetadataStore.getTxnMeta(org.apache.pulsar.client.api.transaction.TxnID txnID)