Interface EventHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Runnable createRunnable​(Log eventLog)
      Create a Runnable to handle the passed-in event Log.
      java.lang.Runnable createRunnable​(Log eventLog, boolean synchronous)
      Create a Runnable to handle the passed-in event Log.
    • Method Detail

      • createRunnable

        java.lang.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

        java.lang.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