org.d_haven.mpool
Interface PoolManager
- All Known Implementing Classes:
- DefaultPoolManager
- public interface PoolManager
This interface is for a PoolManager that creates pools that are
managed asynchronously. The contract is that the controller type is
specified in the constructor.
- Version:
- CVS $Revision: 1.5 $ $Date: 2004/06/21 17:03:46 $
- Author:
- Berin Loritsch
getManagedPool
public Pool getManagedPool(ObjectFactory factory,
int initialEntries)
throws java.lang.Exception
- Return a managed pool that has a controller.
- Parameters:
factory
- the factory used for the pool.initialEntries
- the number of items to start with in the
pool
- Returns:
- the new or existing pool for that factory
- Throws:
java.lang.Exception
- if there is a problem creating the pool
Copyright © 2004-2005 D-Haven.org. All Rights Reserved.