Class ThreadPool.WorkerController<T>

java.lang.Object
step.threadpool.ThreadPool.WorkerController<T>
Enclosing class:
ThreadPool

public static final class ThreadPool.WorkerController<T> extends Object
  • Constructor Details

    • WorkerController

      public WorkerController(step.threadpool.ThreadPool.BatchContext batchContext)
  • Method Details

    • interrupt

      public void interrupt()
    • getWorkerId

      public int getWorkerId()
    • isParallel

      public boolean isParallel()
      Returns:
      true if the current batch is running in parallel i.e with more than one worker