Interface EventHandler

    • Method Detail

      • createRunnable

        Runnable createRunnable​(Log eventLog)
        Create a Runnable to handle the passed-in event Log.
        Parameters:
        eventLog - events to be processed
        Returns:
        a ready-to-run Runnable that will process the events
      • createRunnable

        Runnable createRunnable​(Log eventLog,
                                boolean synchronous)
        Create a Runnable to handle the passed-in event Log.
        Parameters:
        eventLog - events to be processed
        synchronous - Whether the runnable should wait for all processors to finish processing before returning
        Returns:
        a ready-to-run Runnable that will process the events