org.apache.avalon.excalibur.pool
Class DefaultPoolController

java.lang.Object
  extended by org.apache.avalon.excalibur.pool.DefaultPoolController
All Implemented Interfaces:
PoolController

public class DefaultPoolController
extends java.lang.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

Constructor Summary
DefaultPoolController()
           
DefaultPoolController(int amount)
           
 
Method Summary
 int grow()
           
 int shrink()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPoolController

public DefaultPoolController()

DefaultPoolController

public DefaultPoolController(int amount)
Method Detail

grow

public int grow()
Specified by:
grow in interface PoolController

shrink

public int shrink()
Specified by:
shrink in interface PoolController


Copyright © 1997-2011 Apache Software Foundation. All Rights Reserved.