Interface EventProcessorTask.ShutdownCallback

Enclosing class:
EventProcessorTask
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface EventProcessorTask.ShutdownCallback
Callback that allows the SequenceManager to receive a notification when this scheduler finishes processing events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when event processing is complete.
  • Method Details

    • afterShutdown

      void afterShutdown(EventProcessorTask scheduler)
      Called when event processing is complete. This means that there are no more events waiting and the last transactional batch has been committed successfully.
      Parameters:
      scheduler - the scheduler that completed processing.