|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectjava.util.concurrent.AbstractExecutorService
java.util.concurrent.ThreadPoolExecutor
org.xsocket.WorkerPool
public final class WorkerPool
WorkerPool implementation
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.util.concurrent.ThreadPoolExecutor |
|---|
ThreadPoolExecutor.AbortPolicy, ThreadPoolExecutor.CallerRunsPolicy, ThreadPoolExecutor.DiscardOldestPolicy, ThreadPoolExecutor.DiscardPolicy |
| Constructor Summary | |
|---|---|
WorkerPool(int maxSize)
constructor |
|
WorkerPool(int minSize,
int maxSize)
constructor |
|
WorkerPool(int minSize,
int maxSize,
int taskqueuesize)
constructor |
|
WorkerPool(int minSize,
int maxSize,
long keepalive,
TimeUnit timeunit,
boolean isDaemon)
constructor |
|
WorkerPool(int minSize,
int maxSize,
long keepalive,
TimeUnit timeunit,
int taskqueuesize,
boolean isDaemon)
constructor |
|
| Method Summary |
|---|
| Methods inherited from class java.util.concurrent.AbstractExecutorService |
|---|
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkerPool(int maxSize)
maxSize - max worker size
public WorkerPool(int minSize,
int maxSize)
minSize - min worker sizemaxSize - max worker size
public WorkerPool(int minSize,
int maxSize,
int taskqueuesize)
minSize - min worker sizemaxSize - max worker sizetaskqueuesize - the task queue size
public WorkerPool(int minSize,
int maxSize,
long keepalive,
TimeUnit timeunit,
boolean isDaemon)
minSize - min worker sizemaxSize - max worker sizekeepalive - the keepalivetimeunit - the timeunitisDaemon - true, if worker threads are daemon threads
public WorkerPool(int minSize,
int maxSize,
long keepalive,
TimeUnit timeunit,
int taskqueuesize,
boolean isDaemon)
minSize - min worker sizemaxSize - max worker sizekeepalive - the keepalivetimeunit - the timeunittaskqueuesize - the task queue sizeisDaemon - true, if worker threads are daemon threads
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||