Interface TransactionPendingAckStoreProvider
- All Known Implementing Classes:
InMemoryPendingAckStoreProvider,MLPendingAckStoreProvider
public interface TransactionPendingAckStoreProvider
Provider of transaction pending ack store.
-
Method Summary
Modifier and TypeMethodDescriptioncheckInitializedBefore(PersistentSubscription subscription) Check pending ack store has been initialized before.newPendingAckStore(PersistentSubscription subscription) Open the pending ack store.newProvider(String providerClassName) Construct a provider from the provided class.
-
Method Details
-
newProvider
Construct a provider from the provided class.- Parameters:
providerClassName-Stringthe provider class name- Returns:
- an instance of transaction buffer provider.
- Throws:
IOException
-
newPendingAckStore
Open the pending ack store.- Parameters:
subscription-PersistentSubscription- Returns:
- a future represents the result of the operation.
an instance of
PendingAckStoreis returned if the operation succeeds.
-
checkInitializedBefore
Check pending ack store has been initialized before.- Parameters:
subscription-PersistentSubscription- Returns:
- a future represents the result of the operation.
an instance of
Booleanis returned if the operation succeeds.
-