|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BaseObjectPool.Builder | |
|---|---|
| net.csdn.modules.thrift.pool | |
| Uses of BaseObjectPool.Builder in net.csdn.modules.thrift.pool |
|---|
| Methods in net.csdn.modules.thrift.pool that return BaseObjectPool.Builder | |
|---|---|
BaseObjectPool.Builder<K,V> |
BaseObjectPool.Builder.borrowValidation(boolean borrowValidation)
Set whether this pool should validate the object by PoolableObjectFactory.validateObject(K, V) before returning a borrowed object to the user
Default is false. |
BaseObjectPool.Builder<K,V> |
BaseObjectPool.Builder.disposable(boolean disposable)
Set disposable property If this pool is bounded and doesn't have idle objects any more, temporary object will be returned to the user if disposable is true. |
BaseObjectPool.Builder<K,V> |
BaseObjectPool.Builder.keepAliveTimeoutInSecs(long keepAliveTimeoutInSecs)
Set the KeepAliveTimeout of this pool This pool will schedule BaseObjectPool.EvictionTask with this interval. |
BaseObjectPool.Builder<K,V> |
BaseObjectPool.Builder.max(int max)
Set maximum size of this pool Default is unbounded as Integer.MAX_VALUE. |
BaseObjectPool.Builder<K,V> |
BaseObjectPool.Builder.min(int min)
Set minimum size of this pool Default is 5. |
BaseObjectPool.Builder<K,V> |
BaseObjectPool.Builder.returnValidation(boolean returnValidation)
Set whether this pool should validate the object by PoolableObjectFactory.validateObject(K, V) before returning a borrowed object to the pool
Default is false. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||