public class WorkerPoolFactory extends Object
NativeWorkerPool
instances since
we assume that we are running on Java 1.5 or above.Constructor and Description |
---|
WorkerPoolFactory() |
Modifier and Type | Method and Description |
---|---|
static WorkerPool |
getWorkerPool(int core,
int max,
int keepAlive,
int queueLength,
int waterMark,
String threadGroupName,
String threadGroupId) |
static WorkerPool |
getWorkerPool(int core,
int max,
int keepAlive,
int queueLength,
String threadGroupName,
String threadGroupId) |
static WorkerPool |
getWorkerPool(int core,
int max,
int keepAlive,
int queueLength,
String threadGroupName,
String threadGroupId,
BlockingQueue<Runnable> queue) |
public static WorkerPool getWorkerPool(int core, int max, int keepAlive, int queueLength, String threadGroupName, String threadGroupId)
public static WorkerPool getWorkerPool(int core, int max, int keepAlive, int queueLength, int waterMark, String threadGroupName, String threadGroupId)
public static WorkerPool getWorkerPool(int core, int max, int keepAlive, int queueLength, String threadGroupName, String threadGroupId, BlockingQueue<Runnable> queue)
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.