Interface ExecutionStrategy.Producer

  • Enclosing interface:
    ExecutionStrategy

    @Deprecated(since="2021-05-27")
    public static interface ExecutionStrategy.Producer
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.

    A producer of Runnable tasks to run.

    The ExecutionStrategy will repeatedly invoke produce() until the producer returns null, indicating that it has nothing more to produce.

    When no more tasks can be produced, implementations should arrange for the ExecutionStrategy to be invoked again in case an external event resumes the tasks production.

    • Method Detail

      • produce

        java.lang.Runnable produce()
        Deprecated.

        Produces a task to be executed.

        Returns:
        a task to executed or null if there are no more tasks to execute