Class ThreadPool.WorkerController<T>

  • Enclosing class:
    ThreadPool

    public static final class ThreadPool.WorkerController<T>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkerController​(step.threadpool.ThreadPool.BatchContext batchContext)  
    • Constructor Detail

      • WorkerController

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

      • 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