org.apache.avalon.excalibur.pool
クラス DefaultPoolController

java.lang.Object
  |
  +--org.apache.avalon.excalibur.pool.DefaultPoolController
すべての実装インタフェース:
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.

導入されたバージョン:
4.0
バージョン:
CVS $Revision: 1.3 $ $Date: 2001/12/11 09:53:31 $
作成者:
Berin Loritsch

コンストラクタの概要
DefaultPoolController()
           
DefaultPoolController(int amount)
           
 
メソッドの概要
 int grow()
          Called when a Pool reaches it's minimum.
 int shrink()
          Called when a pool reaches it's maximum.
 
クラス 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()
インタフェース PoolController の記述:
Called when a Pool reaches it's minimum. Return the number of elements to increase minimum and maximum by.
定義:
インタフェース PoolController 内の grow
インタフェース org.apache.avalon.excalibur.pool.PoolController からコピーされたタグ:
戻り値:
the element increase

shrink

public int shrink()
インタフェース PoolController の記述:
Called when a pool reaches it's maximum. Returns the number of elements to decrease mi and max by.
定義:
インタフェース PoolController 内の shrink
インタフェース org.apache.avalon.excalibur.pool.PoolController からコピーされたタグ:
戻り値:
the element decrease


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