Interface EventHandler<T>

    • Method Detail

      • onEvent

        void onEvent​(T event,
                     long sequence,
                     boolean endOfBatch)
              throws Exception
        Called when a publisher has published an event to the RingBuffer
        Parameters:
        event - published to the RingBuffer
        sequence - of the event being processed
        endOfBatch - flag to indicate if this is the last event in a batch from the RingBuffer
        Throws:
        Exception - if the EventHandler would like the exception handled further up the chain.