public static interface Pooled.Context
| Modifier and Type | Method and Description |
|---|---|
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.
|
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()
Copyright © 2003-2014 Codehaus. All Rights Reserved.