org.apache.avalon.excalibur.pool
インタフェース PoolController

既知の実装クラスの一覧:
DefaultPoolController, DefaultComponentPoolController

public interface PoolController

This is the interface you implement if you want to control how Pools capacity changes overtime. It gets called everytime that a Pool tries to go below or above it's minimum or maximum.

導入されたバージョン:
4.0
バージョン:
CVS $Revision: 1.4 $ $Date: 2001/12/11 09:53:32 $
作成者:
Stefano Mazzocchi, Peter Donald, Berin Loritsch

メソッドの概要
 int grow()
          Called when a Pool reaches it's minimum.
 int shrink()
          Called when a pool reaches it's maximum.
 

メソッドの詳細

grow

public int grow()
Called when a Pool reaches it's minimum. Return the number of elements to increase minimum and maximum by.
戻り値:
the element increase

shrink

public int shrink()
Called when a pool reaches it's maximum. Returns the number of elements to decrease mi and max by.
戻り値:
the element decrease


"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."