Class InMemoryPendingAckStoreProvider
java.lang.Object
org.apache.pulsar.broker.transaction.pendingack.impl.InMemoryPendingAckStoreProvider
- All Implemented Interfaces:
TransactionPendingAckStoreProvider
public class InMemoryPendingAckStoreProvider
extends Object
implements TransactionPendingAckStoreProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckInitializedBefore(PersistentSubscription subscription) Check pending ack store has been initialized before.newPendingAckStore(PersistentSubscription subscription) Open the pending ack store.
-
Constructor Details
-
InMemoryPendingAckStoreProvider
public InMemoryPendingAckStoreProvider()
-
-
Method Details
-
newPendingAckStore
Description copied from interface:TransactionPendingAckStoreProviderOpen the pending ack store.- Specified by:
newPendingAckStorein interfaceTransactionPendingAckStoreProvider- Parameters:
subscription-PersistentSubscription- Returns:
- a future represents the result of the operation.
an instance of
PendingAckStoreis returned if the operation succeeds.
-
checkInitializedBefore
Description copied from interface:TransactionPendingAckStoreProviderCheck pending ack store has been initialized before.- Specified by:
checkInitializedBeforein interfaceTransactionPendingAckStoreProvider- Parameters:
subscription-PersistentSubscription- Returns:
- a future represents the result of the operation.
an instance of
Booleanis returned if the operation succeeds.
-