Keel 2.1RC2

org.apache.avalon.excalibur.pool.test
Class PoolComparisonProfileAbstract.NoPoolingPool

java.lang.Object
  extended byorg.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.


Field Summary
private  ObjectFactory m_factory
           
private  Logger m_logger
           
 
Constructor Summary
PoolComparisonProfileAbstract.NoPoolingPool(ObjectFactory factory)
           
 
Method Summary
 void enableLogging(Logger logger)
          Provide component with a logger.
 Poolable get()
           
 void put(Poolable poolable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_factory

private ObjectFactory m_factory

m_logger

private Logger m_logger
Constructor Detail

PoolComparisonProfileAbstract.NoPoolingPool

public PoolComparisonProfileAbstract.NoPoolingPool(ObjectFactory factory)
Method Detail

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

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.