Class MLPendingAckStoreProvider
- java.lang.Object
-
- org.apache.pulsar.broker.transaction.pendingack.impl.MLPendingAckStoreProvider
-
- All Implemented Interfaces:
TransactionPendingAckStoreProvider
public class MLPendingAckStoreProvider extends java.lang.Object implements TransactionPendingAckStoreProvider
Provider is for MLPendingAckStore.
-
-
Constructor Summary
Constructors Constructor Description MLPendingAckStoreProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Boolean>checkInitializedBefore(PersistentSubscription subscription)Check pending ack store has been initialized before.java.util.concurrent.CompletableFuture<PendingAckStore>newPendingAckStore(PersistentSubscription subscription)Open the pending ack store.
-
-
-
Method Detail
-
newPendingAckStore
public java.util.concurrent.CompletableFuture<PendingAckStore> newPendingAckStore(PersistentSubscription subscription)
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
public java.util.concurrent.CompletableFuture<java.lang.Boolean> checkInitializedBefore(PersistentSubscription subscription)
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.
-
-