Package org.apache.pulsar.broker.service
Interface PendingAcksMap.PendingAcksAddHandler
- Enclosing class:
- PendingAcksMap
public static interface PendingAcksMap.PendingAcksAddHandler
Callback interface for handling the addition of pending acknowledgments.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleAdding(Consumer consumer, long ledgerId, long entryId, int stickyKeyHash) Handle the addition of a pending acknowledgment.
-
Method Details
-
handleAdding
Handle the addition of a pending acknowledgment.- Parameters:
consumer- the consumerledgerId- the ledger IDentryId- the entry IDstickyKeyHash- the sticky key hash- Returns:
- true if the addition is allowed, false otherwise
-