org.apache.avalon.excalibur.pool
Class DefaultPoolController

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

public class DefaultPoolController
extends java.lang.Object
implements org.apache.avalon.excalibur.pool.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 org.apache.avalon.excalibur.pool.PoolController

shrink

public int shrink()
Specified by:
shrink in interface org.apache.avalon.excalibur.pool.PoolController


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