org.apache.avalon.excalibur.pool.test
Class PoolComparisonProfileAbstract.NoPoolingPool
java.lang.Object
org.apache.avalon.excalibur.pool.test.PoolComparisonProfileAbstract.NoPoolingPool
- All Implemented Interfaces:
- LogEnabled, Pool
- Enclosing class:
- PoolComparisonProfileAbstract
- public static class PoolComparisonProfileAbstract.NoPoolingPool
- extends java.lang.Object
- implements Pool, LogEnabled
Dummy class used for timing test cases where no pooling is done.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_factory
private ObjectFactory m_factory
-
m_logger
private Logger m_logger
-
PoolComparisonProfileAbstract.NoPoolingPool
public PoolComparisonProfileAbstract.NoPoolingPool(ObjectFactory factory)
enableLogging
public void enableLogging(Logger logger)
- Description copied from interface:
LogEnabled
-
Provide component with a logger.
-
- Specified by:
enableLogging in interface LogEnabled
-
- Parameters:
logger - the logger. Must not be null.
get
public Poolable get()
throws java.lang.Exception
-
- Specified by:
get in interface Pool
-
- Throws:
java.lang.Exception
put
public void put(Poolable poolable)
-
- Specified by:
put in interface Pool
-
Please see keelframework.org for information about new Keel releases.