org.apache.commons.pool
Interface KeyedObjectPoolFactory

All Known Implementing Classes:
GenericKeyedObjectPoolFactory, StackKeyedObjectPoolFactory

public interface KeyedObjectPoolFactory

A factory for creating KeyedObjectPools.

Since:
Pool 1.0
Version:
$Revision: 777748 $ $Date: 2009-05-22 17:00:44 -0700 (Fri, 22 May 2009) $
Author:
Rodney Waldhoff
See Also:
KeyedObjectPool

Method Summary
 KeyedObjectPool createPool()
          Create a new KeyedObjectPool.
 

Method Detail

createPool

KeyedObjectPool createPool()
                           throws IllegalStateException
Create a new KeyedObjectPool.

Returns:
a new KeyedObjectPool
Throws:
IllegalStateException - when this pool factory is not configured properly


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.