public class MLTransactionMetadataStoreProvider extends Object implements TransactionMetadataStoreProvider
TransactionMetadataStore.| Constructor and Description |
|---|
MLTransactionMetadataStoreProvider() |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<TransactionMetadataStore> |
openStore(TransactionCoordinatorID transactionCoordinatorId,
ManagedLedgerFactory managedLedgerFactory,
ManagedLedgerConfig managedLedgerConfig,
TransactionTimeoutTracker timeoutTracker,
TransactionRecoverTracker recoverTracker)
Open the transaction metadata store for transaction coordinator
identified by transactionCoordinatorId.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewProviderpublic CompletableFuture<TransactionMetadataStore> openStore(TransactionCoordinatorID transactionCoordinatorId, ManagedLedgerFactory managedLedgerFactory, ManagedLedgerConfig managedLedgerConfig, TransactionTimeoutTracker timeoutTracker, TransactionRecoverTracker recoverTracker)
TransactionMetadataStoreProvideropenStore in interface TransactionMetadataStoreProvidertransactionCoordinatorId - TransactionCoordinatorID the coordinator id.managedLedgerFactory - ManagedLedgerFactory the managedLedgerFactory to create managedLedger.managedLedgerConfig - ManagedLedgerConfig the managedLedgerConfig to create managedLedger.timeoutTracker - TransactionTimeoutTracker the timeoutTracker to handle transaction time out.recoverTracker - TransactionRecoverTracker the recoverTracker to handle transaction recover.TransactionMetadataStore is returned
if the operation succeeds.Copyright © 2017–2021 Apache Software Foundation. All rights reserved.