public interface Transactions
CompletableFuture<TransactionCoordinatorStats> getCoordinatorStatsByIdAsync(int coordinatorId)
coordinatorId - the id which get transaction coordinatorTransactionCoordinatorStats getCoordinatorStatsById(int coordinatorId) throws PulsarAdminException
coordinatorId - the id which get transaction coordinatorPulsarAdminExceptionCompletableFuture<Map<Integer,TransactionCoordinatorStats>> getCoordinatorStatsAsync()
Map<Integer,TransactionCoordinatorStats> getCoordinatorStats() throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<TransactionInBufferStats> getTransactionInBufferStatsAsync(TxnID txnID, String topic)
txnID - the txnIdtopic - the produce topicTransactionInBufferStats getTransactionInBufferStats(TxnID txnID, String topic) throws PulsarAdminException
txnID - the txnIdtopic - the produce topicPulsarAdminExceptionCompletableFuture<TransactionInPendingAckStats> getTransactionInPendingAckStatsAsync(TxnID txnID, String topic, String subName)
txnID - the txnIdtopic - the ack topicsubName - the subscription name of this transaction ackTransactionInPendingAckStats getTransactionInPendingAckStats(TxnID txnID, String topic, String subName) throws PulsarAdminException
txnID - the txnIdtopic - the ack topicsubName - the subscription name of this transaction ackPulsarAdminExceptionCompletableFuture<TransactionMetadata> getTransactionMetadataAsync(TxnID txnID)
txnID - the ID of this transactionTransactionMetadata getTransactionMetadata(TxnID txnID) throws PulsarAdminException
txnID - the ID of this transactionPulsarAdminExceptionCompletableFuture<TransactionBufferStats> getTransactionBufferStatsAsync(String topic)
topic - the topic of getting transaction buffer statsTransactionBufferStats getTransactionBufferStats(String topic) throws PulsarAdminException
topic - the topic of getting transaction buffer statsPulsarAdminExceptionCompletableFuture<TransactionPendingAckStats> getPendingAckStatsAsync(String topic, String subName)
topic - the topic of this transaction pending ack statssubName - the subscription name of this transaction pending ack statsTransactionPendingAckStats getPendingAckStats(String topic, String subName) throws PulsarAdminException
topic - the topic of this transaction pending ack statssubName - the subscription name of this transaction pending ack statsPulsarAdminExceptionCompletableFuture<Map<String,TransactionMetadata>> getSlowTransactionsByCoordinatorIdAsync(Integer coordinatorId, long timeout, TimeUnit timeUnit)
coordinatorId - the coordinator id of getting slow transaction status.timeout - the timeouttimeUnit - the timeout timeUnitMap<String,TransactionMetadata> getSlowTransactionsByCoordinatorId(Integer coordinatorId, long timeout, TimeUnit timeUnit) throws PulsarAdminException
coordinatorId - the coordinator id of getting slow transaction status.timeout - the timeouttimeUnit - the timeout timeUnitPulsarAdminExceptionCompletableFuture<Map<String,TransactionMetadata>> getSlowTransactionsAsync(long timeout, TimeUnit timeUnit)
timeout - the timeouttimeUnit - the timeout timeUnitMap<String,TransactionMetadata> getSlowTransactions(long timeout, TimeUnit timeUnit) throws PulsarAdminException
timeout - the timeouttimeUnit - the timeout timeUnitPulsarAdminExceptionCompletableFuture<TransactionCoordinatorInternalStats> getCoordinatorInternalStatsAsync(int coordinatorId, boolean metadata)
coordinatorId - the coordinator IDmetadata - is get ledger metadataTransactionCoordinatorInternalStats getCoordinatorInternalStats(int coordinatorId, boolean metadata) throws PulsarAdminException
coordinatorId - the coordinator IDmetadata - whether to obtain ledger metadataPulsarAdminExceptionCompletableFuture<TransactionPendingAckInternalStats> getPendingAckInternalStatsAsync(String topic, String subName, boolean metadata)
topic - the topic of get pending ack internal statssubName - the subscription name of this pending ackmetadata - whether to obtain ledger metadataTransactionPendingAckInternalStats getPendingAckInternalStats(String topic, String subName, boolean metadata) throws PulsarAdminException
topic - the topic of get pending ack internal statssubName - the subscription name of this pending ackmetadata - whether to obtain ledger metadataPulsarAdminExceptionCopyright © 2017–2022 Apache Software Foundation. All rights reserved.