|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Attribute controller for thread pool component.
Field Summary | |
static long |
DEFAULT_WAIT_TIMEOUT
The default timeout. |
Method Summary | |
int |
getCapacity()
Returns the capacity of the pool. |
long |
getWaitTimeout()
Returns the timeout while "dying" thread can be "reactivated". |
void |
setCapacity(int i)
Sets the capacity of the pool. |
void |
setWaitTimeout(long millis)
Sets the timeout while a "dying" thread can be "reactivated" and reused, rather than create a new thread. |
Field Detail |
public static final long DEFAULT_WAIT_TIMEOUT
setWaitTimeout(long)
,
Constant Field ValuesMethod Detail |
public void setCapacity(int i)
i
- the capacity of the pool.public int getCapacity()
public void setWaitTimeout(long millis)
millis
- timeout in millisecond.public long getWaitTimeout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |