Interface TeamSourceContextWrapper.WorkerEnvironment

  • Enclosing class:
    TeamSourceContextWrapper
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface TeamSourceContextWrapper.WorkerEnvironment
    Provides a wrapper around the Runnable from the Executive for a Thread.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • createWorkerEnvironment

        java.lang.Runnable createWorkerEnvironment​(java.lang.Runnable worker)
        Creates a Runnable to specify the environment around the worker Runnable for a Thread.
        Parameters:
        worker - Runnable containing the worker logic.
        Returns:
        Runnable wrapping the Runnable providing the environment for the worker.