Interface Plugin.Engine.Dispatcher

    • Method Detail

      • accept

        void accept​(java.util.concurrent.Callable<? extends java.util.concurrent.Callable<? extends Plugin.Engine.Dispatcher.Materializable>> work,
                    boolean eager)
             throws java.io.IOException
        Accepts a new work assignment.
        Parameters:
        work - The work to handle prefixed by a preprocessing step.
        eager - true if the processing does not need to be deferred until all preprocessing is complete.
        Throws:
        java.io.IOException - If an I/O exception occurs.
      • complete

        void complete()
               throws java.io.IOException
        Completes the work being handled.
        Throws:
        java.io.IOException - If an I/O exception occurs.