|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ThreadPoolConfig
The thread pool configuration.
Nested Class Summary | |
---|---|
static class |
ThreadPoolConfig.ThreadPoolPolicy
The thread pool policies. |
static class |
ThreadPoolConfig.ThreadPriority
|
Method Summary | |
---|---|
ThreadPoolConfig.ThreadPoolPolicy |
getBlockPolicy()
Return the block policy. |
java.util.concurrent.ThreadFactory |
getFactory()
Return the thread pool factory. |
long |
getKeepAliveTime()
Return the keep alive time. |
int |
getMaxPoolSize()
Return the maximum pool size |
int |
getMinPoolSize()
Return the minimum pool size. |
ThreadPoolConfig.ThreadPriority |
getPriority()
Return the priority for the threads. |
int |
getQueueSize()
Return the queue size. |
int |
getShutdownWaitTimeMs()
Return the shutdown wait time in ms. |
boolean |
isDaemon()
Return if daemon threads should be created. |
boolean |
isShutdownGraceful()
Should this pool shutdown graceful. |
Method Detail |
---|
int getMinPoolSize()
int getMaxPoolSize()
int getQueueSize()
long getKeepAliveTime()
ThreadPoolConfig.ThreadPoolPolicy getBlockPolicy()
boolean isShutdownGraceful()
true
if the pool should shutdown graceful.int getShutdownWaitTimeMs()
java.util.concurrent.ThreadFactory getFactory()
null
ThreadPoolConfig.ThreadPriority getPriority()
boolean isDaemon()
true
if daemon threads should be created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |