org.apache.avalon.excalibur.pool
Class DefaultPoolController
java.lang.Object
org.apache.avalon.excalibur.pool.DefaultPoolController
- All Implemented Interfaces:
- PoolController
public class DefaultPoolController
- extends Object
- implements PoolController
This is a PoolController
that controls how many
instances of a Poolable
are created at one time.
- Since:
- 4.0
- Version:
- CVS $Revision: 1.5 $ $Date: 2004/03/29 16:50:37 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPoolController
public DefaultPoolController()
DefaultPoolController
public DefaultPoolController(int amount)
grow
public int grow()
- Specified by:
grow
in interface PoolController
shrink
public int shrink()
- Specified by:
shrink
in interface PoolController
Copyright © 1997-2012 Apache Software Foundation. All Rights Reserved.