Interface ExecutionStrategy

    • Method Detail

      • dispatch

        void dispatch()

        Initiates (or resumes) the task production and execution.

        This method guarantees that the task is never run by the thread that called this method.

        See Also:
        execute()
      • execute

        void execute()

        Initiates (or resumes) the task production and execution.

        The produced task may be run by the same thread that called this method.

        See Also:
        dispatch()