Package org.jboss.as.ejb3.pool
Class AbstractPool<T>
java.lang.Object
org.jboss.as.ejb3.pool.AbstractPool<T>
- All Implemented Interfaces:
Pool<T>
- Direct Known Subclasses:
StrictMaxPool
The base of all pool implementations.
- Version:
- $Revision$
- Author:
- Bill Burke, Carlo de Wolf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Tcreate()protected voidprotected voidRemove the bean context and invoke any callbacks and track the remove countintintprotected voidDeprecated.abstract voidsetMaxSize(int maxSize) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.ejb3.pool.Pool
discard, get, getAvailableCount, getCurrentSize, getMaxSize, release, start, stop
-
Constructor Details
-
AbstractPool
-
-
Method Details
-
getCreateCount
public int getCreateCount()- Specified by:
getCreateCountin interfacePool<T>
-
getRemoveCount
public int getRemoveCount()- Specified by:
getRemoveCountin interfacePool<T>
-
setMaxSize
public abstract void setMaxSize(int maxSize) - Specified by:
setMaxSizein interfacePool<T>
-
create
-
remove
Deprecated. -
destroy
-
doRemove
Remove the bean context and invoke any callbacks and track the remove count- Parameters:
bean-
-