Uses of Class
org.apache.pulsar.client.api.transaction.TxnID
-
Packages that use TxnID Package Description org.apache.pulsar.client.api.transaction Pulsar transaction related API. -
-
Uses of TxnID in org.apache.pulsar.client.api.transaction
Methods in org.apache.pulsar.client.api.transaction that return TxnID Modifier and Type Method Description TxnIDTransaction. getTxnID()Get TxnID of the transaction.TxnIDTransactionCoordinatorClient. newTransaction()Create a new transaction.TxnIDTransactionCoordinatorClient. newTransaction(long timeout, java.util.concurrent.TimeUnit unit)Create a new transaction.Methods in org.apache.pulsar.client.api.transaction that return types with arguments of type TxnID Modifier and Type Method Description java.util.concurrent.CompletableFuture<TxnID>TransactionBufferClient. abortTxnOnSubscription(java.lang.String topic, java.lang.String subscription, long txnIdMostBits, long txnIdLeastBits, long lowWaterMark)Abort the transaction associated with the topic subscription.java.util.concurrent.CompletableFuture<TxnID>TransactionBufferClient. abortTxnOnTopic(java.lang.String topic, long txnIdMostBits, long txnIdLeastBits, long lowWaterMark)Abort the transaction associated with the topic.java.util.concurrent.CompletableFuture<TxnID>TransactionBufferClient. commitTxnOnSubscription(java.lang.String topic, java.lang.String subscription, long txnIdMostBits, long txnIdLeastBits, long lowWaterMark)Commit the transaction associated with the topic subscription.java.util.concurrent.CompletableFuture<TxnID>TransactionBufferClient. commitTxnOnTopic(java.lang.String topic, long txnIdMostBits, long txnIdLeastBits, long lowWaterMark)Commit the transaction associated with the topic.java.util.concurrent.CompletableFuture<TxnID>TransactionCoordinatorClient. newTransactionAsync()Create a new transaction asynchronously.java.util.concurrent.CompletableFuture<TxnID>TransactionCoordinatorClient. newTransactionAsync(long timeout, java.util.concurrent.TimeUnit unit)Create a new transaction asynchronously.Methods in org.apache.pulsar.client.api.transaction with parameters of type TxnID Modifier and Type Method Description voidTransactionCoordinatorClient. abort(TxnID txnID)Abort txn.java.util.concurrent.CompletableFuture<java.lang.Void>TransactionCoordinatorClient. abortAsync(TxnID txnID)Abort txn asynchronously.voidTransactionCoordinatorClient. addPublishPartitionToTxn(TxnID txnID, java.util.List<java.lang.String> partitions)Add publish partition to txn.java.util.concurrent.CompletableFuture<java.lang.Void>TransactionCoordinatorClient. addPublishPartitionToTxnAsync(TxnID txnID, java.util.List<java.lang.String> partitions)Add publish partition to txn asynchronously.voidTransactionCoordinatorClient. addSubscriptionToTxn(TxnID txnID, java.lang.String topic, java.lang.String subscription)Add ack subscription to txn.java.util.concurrent.CompletableFuture<java.lang.Void>TransactionCoordinatorClient. addSubscriptionToTxnAsync(TxnID txnID, java.lang.String topic, java.lang.String subscription)Add ack subscription to txn asynchronously.voidTransactionCoordinatorClient. commit(TxnID txnID)Commit txn.java.util.concurrent.CompletableFuture<java.lang.Void>TransactionCoordinatorClient. commitAsync(TxnID txnID)Commit txn asynchronously.
-