public class BlockingPool extends NonBlockingPool
addedIdleBeanWork, addedResizeTask, inResizing, singletonBeanPool_logger, appName, beanId, configData, containerClassLoader, createdCount, destroyedCount, ejbName, factory, idleTimeoutInSeconds, list, maxPoolSize, maxWaitTimeInMillis, modName, poolName, poolProbeNotifier, poolReturned, poolSuccess, resizeQuantity, steadyPoolSize, waitCount| Constructor and Description |
|---|
BlockingPool(long containerId,
String name,
ObjectFactory sessionCtxFactory,
int steadyPoolSize,
int poolResizeQuantity,
int maxPoolSize,
int poolIdleTimeoutInSeconds,
ClassLoader loader,
boolean singletonBeanPool,
int maxWaitTimeInMillis) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyObject(Object object)
Destroys an Object.
|
Object |
getObject(Object param)
Get an object from the pool within the specified time.
|
protected void |
remove(int count) |
void |
returnObject(Object object)
Return an object back to the pool.
|
close, doResize, getAllAttrValues, preload, prepopulate, removeIdleObjectsappendStats, getAllMonitoredAttrbuteValues, getCreatedCount, getDestroyedCount, getIdleTimeoutInSeconds, getJmsMaxMessagesLoad, getMaxPoolSize, getMaxWaitTimeInMillis, getNumBeansInPool, getNumThreadsWaiting, getObject, getObject, getPoolSuccess, getResizeQuantity, getSize, getSteadyPoolSize, getTotalBeansCreated, getTotalBeansDestroyed, getWaitCount, setConfigData, setContainerClassLoader, setInfo, unregisterProbeProviderpublic BlockingPool(long containerId,
String name,
ObjectFactory sessionCtxFactory,
int steadyPoolSize,
int poolResizeQuantity,
int maxPoolSize,
int poolIdleTimeoutInSeconds,
ClassLoader loader,
boolean singletonBeanPool,
int maxWaitTimeInMillis)
public Object getObject(Object param) throws PoolException
PoolgetObject in interface PoolgetObject in class NonBlockingPoolPoolException - if an object cannot be createdpublic void returnObject(Object object)
returnObject in interface PoolreturnObject in class NonBlockingPoolpublic void destroyObject(Object object)
destroyObject in interface PooldestroyObject in class NonBlockingPoolprotected void remove(int count)
remove in class NonBlockingPoolCopyright © 2017. All rights reserved.