|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface PoolingComponentAdapter.Context
Context of the PoolingComponentAdapter 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. |
com.thoughtworks.proxy.ProxyFactory |
getProxyFactory()
Retrieve the ProxyFactory to use to create the pooling proxies. |
com.thoughtworks.proxy.kit.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()
PoolingComponentAdapter.UNLIMITED_SIZE for unlimited growth.
int getMaxWaitInMilliseconds()
PoolingComponentAdapter.BLOCK_ON_WAIT or
PoolingComponentAdapter.FAIL_ON_WAIT.
boolean autostartGC()
true for an internal call to System.gc()com.thoughtworks.proxy.ProxyFactory getProxyFactory()
ProxyFactorycom.thoughtworks.proxy.kit.Resetter getResetter()
Resetter of the objects returning to the pool.
int getSerializationMode()
Pool.SERIALIZATION_STANDARDPool.SERIALIZATION_NONEPool.SERIALIZATION_FORCE
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||