Interface PendingAcksMap.PendingAcksAddHandler

Enclosing class:
PendingAcksMap

public static interface PendingAcksMap.PendingAcksAddHandler
Callback interface for handling the addition of pending acknowledgments.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    handleAdding(Consumer consumer, long ledgerId, long entryId, int stickyKeyHash)
    Handle the addition of a pending acknowledgment.
  • Method Details

    • handleAdding

      boolean handleAdding(Consumer consumer, long ledgerId, long entryId, int stickyKeyHash)
      Handle the addition of a pending acknowledgment.
      Parameters:
      consumer - the consumer
      ledgerId - the ledger ID
      entryId - the entry ID
      stickyKeyHash - the sticky key hash
      Returns:
      true if the addition is allowed, false otherwise