org.apache.avalon.excalibur.pool
Class SoftResourceLimitingPool

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
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.logger.Loggable, Pool, Resizable, org.apache.avalon.framework.thread.ThreadSafe

public synchronized class SoftResourceLimitingPool
extends DefaultPool
implements Resizable


Fields inherited from class org.apache.avalon.excalibur.pool.DefaultPool
m_controller, m_disposed, m_max, m_min, m_quickFail
 
Fields inherited from class org.apache.avalon.excalibur.pool.AbstractPool
DEFAULT_POOL_SIZE, m_active, m_factory, m_initialized, m_mutex, m_ready
 
Constructor Summary
SoftResourceLimitingPool(java.lang.Class, int)
           
SoftResourceLimitingPool(java.lang.Class, int, int)
           
SoftResourceLimitingPool(ObjectFactory)
           
SoftResourceLimitingPool(ObjectFactory, int)
           
SoftResourceLimitingPool(ObjectFactory, int, int)
           
SoftResourceLimitingPool(ObjectFactory, PoolController, int, int)
           
 
Method Summary
 void grow(int)
           
 void initialize()
           
 void shrink(int)
           
 
Methods inherited from class org.apache.avalon.excalibur.pool.DefaultPool
dispose, get, put
 
Methods inherited from class org.apache.avalon.excalibur.pool.AbstractPool
internalGrow, internalShrink, newPoolable, removePoolable, setLogger, size
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftResourceLimitingPool

public SoftResourceLimitingPool(ObjectFactory)
                         throws java.lang.Exception

SoftResourceLimitingPool

public SoftResourceLimitingPool(ObjectFactory,
                                int)
                         throws java.lang.Exception

SoftResourceLimitingPool

public SoftResourceLimitingPool(ObjectFactory,
                                int,
                                int)
                         throws java.lang.Exception

SoftResourceLimitingPool

public SoftResourceLimitingPool(ObjectFactory,
                                PoolController,
                                int,
                                int)
                         throws java.lang.Exception

SoftResourceLimitingPool

public SoftResourceLimitingPool(java.lang.Class,
                                int,
                                int)
                         throws java.lang.NoSuchMethodException,
                                java.lang.Exception

SoftResourceLimitingPool

public SoftResourceLimitingPool(java.lang.Class,
                                int)
                         throws java.lang.NoSuchMethodException,
                                java.lang.Exception
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Overrides:
initialize in class AbstractPool

grow

public void grow(int)
Specified by:
grow in interface Resizable

shrink

public void shrink(int)
Specified by:
shrink in interface Resizable


Copyright 2001 Apache Jakarta Project. All Rights Reserved.