public interface TransactionPendingAckStoreProvider
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Boolean> |
checkInitializedBefore(PersistentSubscription subscription)
Check pending ack store has been initialized before.
|
CompletableFuture<PendingAckStore> |
newPendingAckStore(PersistentSubscription subscription)
Open the pending ack store.
|
static TransactionPendingAckStoreProvider |
newProvider(String providerClassName)
Construct a provider from the provided class.
|
static TransactionPendingAckStoreProvider newProvider(String providerClassName) throws IOException
providerClassName - String the provider class nameIOExceptionCompletableFuture<PendingAckStore> newPendingAckStore(PersistentSubscription subscription)
subscription - PersistentSubscriptionPendingAckStore is returned
if the operation succeeds.CompletableFuture<Boolean> checkInitializedBefore(PersistentSubscription subscription)
subscription - PersistentSubscriptionBoolean is returned
if the operation succeeds.Copyright © 2017–2022 Apache Software Foundation. All rights reserved.