Class WorkerPoolFactory


  • public class WorkerPoolFactory
    extends Object
    Worker pool factory. For the moment this always creates NativeWorkerPool instances since we assume that we are running on Java 1.5 or above.
    • Constructor Detail

      • WorkerPoolFactory

        public WorkerPoolFactory()
    • Method Detail

      • getWorkerPool

        public static WorkerPool getWorkerPool​(int core,
                                               int max,
                                               int keepAlive,
                                               int queueLength,
                                               String threadGroupName,
                                               String threadGroupId)
      • getWorkerPool

        public static WorkerPool getWorkerPool​(int core,
                                               int max,
                                               int keepAlive,
                                               int queueLength,
                                               int waterMark,
                                               String threadGroupName,
                                               String threadGroupId)