|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface Pool
Allow to specify pool attributes.
| Optional Element Summary | |
|---|---|
int |
max
Maximum size of the pool (default is unlimited). |
int |
maxWaiters
Number of waiters that can wait if the pool has reached its maximum value (default is 1000). |
long |
timeout
Timeout (default is 10s = 10000L). |
public abstract int max
public abstract long timeout
public abstract int maxWaiters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||