Class ApachePoolConfig<T>

java.lang.Object
com.complexible.common.pool.PoolConfig<T,Exception>
com.complexible.common.pool.ApachePoolConfig<T>

public class ApachePoolConfig<T> extends PoolConfig<T,Exception>

Abstract base class for instantiating a pool backed by Apache Pool. Be careful that the PoolableObjectFactory passed into the config creates objects of the correct type or you will end up with runtime cast exceptions.

Since:
0.5.1
Version:
0.7
Author:
Michael Grove
  • Field Details

    • mFactory

      protected org.apache.commons.pool.PoolableObjectFactory<T> mFactory
  • Constructor Details

    • ApachePoolConfig

      public ApachePoolConfig(org.apache.commons.pool.PoolableObjectFactory<T> theFactory)
  • Method Details