org.apache.avalon.excalibur.component
クラス 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
すべての実装インタフェース:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.logger.Loggable, Pool, Resizable, org.apache.avalon.framework.thread.ThreadSafe

public class DefaultComponentPool
extends SoftResourceLimitingPool
implements org.apache.avalon.framework.activity.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.

導入されたバージョン:
4.0
バージョン:
CVS $Revision: 1.3 $ $Date: 2001/12/11 09:53:27 $
作成者:
Berin Loritsch, Giacomo Pati

クラス org.apache.avalon.excalibur.pool.DefaultPool から継承したフィールド
m_controller, m_disposed, m_max, m_min, m_quickFail
 
クラス org.apache.avalon.excalibur.pool.AbstractPool から継承したフィールド
DEFAULT_POOL_SIZE, m_active, m_factory, m_initialized, m_mutex, m_ready
 
コンストラクタの概要
DefaultComponentPool(ObjectFactory factory)
          Initialize the Pool with an ObjectFactory.
DefaultComponentPool(ObjectFactory factory, PoolController controller, int minimumPoolSize, int maximumPoolSIze)
          Initialized the Pool with an alternative management infrastructure.
 
クラス org.apache.avalon.excalibur.pool.SoftResourceLimitingPool から継承したメソッド
grow, initialize, shrink
 
クラス org.apache.avalon.excalibur.pool.DefaultPool から継承したメソッド
dispose, get, put
 
クラス org.apache.avalon.excalibur.pool.AbstractPool から継承したメソッド
internalGrow, internalShrink, newPoolable, removePoolable, setLogger, size
 
クラス org.apache.avalon.framework.logger.AbstractLogEnabled から継承したメソッド
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.apache.avalon.framework.activity.Initializable から継承したメソッド
initialize
 

コンストラクタの詳細

DefaultComponentPool

public DefaultComponentPool(ObjectFactory factory)
                     throws java.lang.Exception
Initialize the Pool with an ObjectFactory.

DefaultComponentPool

public DefaultComponentPool(ObjectFactory factory,
                            PoolController controller,
                            int minimumPoolSize,
                            int maximumPoolSIze)
                     throws java.lang.Exception
Initialized the Pool with an alternative management infrastructure.


"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."