Interface StreamingDispatcher

    • Method Detail

      • readEntryComplete

        void readEntryComplete​(org.apache.bookkeeper.mledger.Entry entry,
                               PendingReadEntryRequest ctx)
        Notify dispatcher issued read entry request has complete.
        Parameters:
        entry - Entry read.
        ctx - Context passed in when issuing read entries request.
      • canReadMoreEntries

        void canReadMoreEntries​(boolean withBackoff)
        Notify dispatcher can issue next read request.
      • notifyConsumersEndOfTopic

        void notifyConsumersEndOfTopic()
        Notify dispatcher to inform consumers reached end of topic.
      • getName

        java.lang.String getName()
        Returns:
        Name of the dispatcher.