public class DefaultComponentPool
extends org.apache.avalon.excalibur.pool.SoftResourceLimitingPool
implements org.apache.avalon.framework.activity.Initializable
Pool for Avalon
Components that is thread safe. For Component Management, we need
soft resource limiting due to the possibility of spikes in demand.
This pool will destroy all unnecessary Components when they are
no longer needed.| Constructor and Description |
|---|
DefaultComponentPool(org.apache.avalon.excalibur.pool.ObjectFactory factory)
Deprecated.
Initialize the
Pool with an
ObjectFactory. |
DefaultComponentPool(org.apache.avalon.excalibur.pool.ObjectFactory factory,
org.apache.avalon.excalibur.pool.PoolController controller,
int minimumPoolSize,
int maximumPoolSIze)
Deprecated.
Initialized the
Pool with an alternative management
infrastructure. |
grow, initialize, shrinkinternalGrow, internalShrink, lock, newPoolable, removePoolable, size, unlockenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic DefaultComponentPool(org.apache.avalon.excalibur.pool.ObjectFactory factory)
throws java.lang.Exception
Pool with an
ObjectFactory.java.lang.Exceptionpublic DefaultComponentPool(org.apache.avalon.excalibur.pool.ObjectFactory factory,
org.apache.avalon.excalibur.pool.PoolController controller,
int minimumPoolSize,
int maximumPoolSIze)
throws java.lang.Exception
Pool with an alternative management
infrastructure.java.lang.Exception