| Package | Description |
|---|---|
| org.apache.pulsar.transaction.coordinator |
Classes for implementing pulsar transaction coordinator.
|
| org.apache.pulsar.transaction.coordinator.exceptions |
Internal exceptions for transaction coordinator.
|
| org.apache.pulsar.transaction.coordinator.impl |
Implementations of the transaction coordinator.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionCoordinatorID |
TransactionCoordinatorID.get(long id) |
TransactionCoordinatorID |
TransactionMetadataStore.getTransactionCoordinatorID()
Get the transaction coordinator id.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionTimeoutTracker |
TransactionTimeoutTrackerFactory.newTracker(TransactionCoordinatorID tcID)
Create a new tracker instance.
|
CompletableFuture<TransactionMetadataStore> |
TransactionMetadataStoreProvider.openStore(TransactionCoordinatorID transactionCoordinatorId,
ManagedLedgerFactory managedLedgerFactory,
ManagedLedgerConfig managedLedgerConfig,
TransactionTimeoutTracker timeoutTracker,
TransactionRecoverTracker recoverTracker)
Open the transaction metadata store for transaction coordinator
identified by transactionCoordinatorId.
|
| Constructor and Description |
|---|
CoordinatorNotFoundException(TransactionCoordinatorID tcId) |
TransactionMetadataStoreStateException(TransactionCoordinatorID tcID,
TransactionMetadataStoreState.State expectedState,
TransactionMetadataStoreState.State currentState,
String operation) |
| Modifier and Type | Method and Description |
|---|---|
TransactionCoordinatorID |
MLTransactionMetadataStore.getTransactionCoordinatorID() |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<TransactionMetadataStore> |
MLTransactionMetadataStoreProvider.openStore(TransactionCoordinatorID transactionCoordinatorId,
ManagedLedgerFactory managedLedgerFactory,
ManagedLedgerConfig managedLedgerConfig,
TransactionTimeoutTracker timeoutTracker,
TransactionRecoverTracker recoverTracker) |
CompletableFuture<TransactionMetadataStore> |
InMemTransactionMetadataStoreProvider.openStore(TransactionCoordinatorID transactionCoordinatorId,
ManagedLedgerFactory managedLedgerFactory,
ManagedLedgerConfig managedLedgerConfig,
TransactionTimeoutTracker timeoutTracker,
TransactionRecoverTracker recoverTracker) |
| Constructor and Description |
|---|
MLTransactionLogImpl(TransactionCoordinatorID tcID,
ManagedLedgerFactory managedLedgerFactory,
ManagedLedgerConfig managedLedgerConfig) |
MLTransactionMetadataStore(TransactionCoordinatorID tcID,
MLTransactionLogImpl mlTransactionLog,
TransactionTimeoutTracker timeoutTracker,
TransactionRecoverTracker recoverTracker) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.