|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Pooled.Context
Context of the Pooled used to initialize it.
| Method Summary | |
|---|---|
boolean |
autostartGC()
Allow the implementation to invoke the garbace collector manually if the pool is exhausted. |
int |
getMaxSize()
Retrieve the maximum size of the pool. |
int |
getMaxWaitInMilliseconds()
Retrieve the maximum number of milliseconds to wait for a returned element. |
ProxyFactory |
getProxyFactory()
Retrieve the ProxyFactory to use to create the pooling proxies. |
Resetter |
getResetter()
Retrieve the Resetter of the objects returning to the pool. |
int |
getSerializationMode()
Retrieve the serialization mode of the pool. |
| Method Detail |
|---|
int getMaxSize()
Pooled.UNLIMITED_SIZE for unlimited growth.
int getMaxWaitInMilliseconds()
Pooled.BLOCK_ON_WAIT or
Pooled.FAIL_ON_WAIT.
boolean autostartGC()
true for an internal call to System.gc()ProxyFactory getProxyFactory()
ProxyFactoryResetter getResetter()
Resetter of the objects returning to the pool.
int getSerializationMode()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||