org.apache.avalon.excalibur.component
Class DefaultComponentPool
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLogEnabled
|
+--org.apache.avalon.excalibur.pool.AbstractPool
|
+--org.apache.avalon.excalibur.pool.DefaultPool
|
+--org.apache.avalon.excalibur.pool.SoftResourceLimitingPool
|
+--org.apache.avalon.excalibur.component.DefaultComponentPool
- All Implemented Interfaces:
- Component, Disposable, Initializable, LogEnabled, Pool, Resizable, ThreadSafe
Deprecated. DefaultComponentPool is no longer used by the PoolableComponentHandler.
- public class DefaultComponentPool
- extends SoftResourceLimitingPool
- implements Initializable
This is the implementation of 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.
- Since:
- 4.0
- Version:
- CVS $Revision: 1.2 $ $Date: 2003/02/20 17:12:34 $
- Author:
- Berin Loritsch, Giacomo Pati
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultComponentPool
public DefaultComponentPool(ObjectFactory factory)
throws Exception
- Deprecated.
- Initialize the
Pool
with an
ObjectFactory
.
DefaultComponentPool
public DefaultComponentPool(ObjectFactory factory,
PoolController controller,
int minimumPoolSize,
int maximumPoolSIze)
throws Exception
- Deprecated.
- Initialized the
Pool
with an alternative management
infrastructure.
Copyright © 2000-2002 Apache Jakarta Project. All Rights Reserved.