org.apache.commons.pool.impl
クラス GenericObjectPoolFactory

java.lang.Object
  拡張org.apache.commons.pool.impl.GenericObjectPoolFactory
すべての実装インタフェース:
ObjectPoolFactory

public class GenericObjectPoolFactory
extends Object
implements ObjectPoolFactory

GenericObjectPool のインスタンスをを生成するためのファクトリです。

バージョン:
$Id: GenericObjectPoolFactory.java,v 1.1 2004/02/22 11:58:26 hioki Exp $
作成者:
Rodney Waldhoff
関連項目:
GenericObjectPool, ObjectPoolFactory
翻訳者:
日置 聡

コンストラクタの概要
GenericObjectPoolFactory(PoolableObjectFactory factory)
           
GenericObjectPoolFactory(PoolableObjectFactory factory, GenericObjectPool.Config config)
           
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive)
           
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait)
           
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, boolean testOnBorrow, boolean testOnReturn)
           
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle)
           
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, boolean testOnBorrow, boolean testOnReturn)
           
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, boolean testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle)
           
GenericObjectPoolFactory(PoolableObjectFactory factory, int maxActive, byte whenExhaustedAction, long maxWait, int maxIdle, int minIdle, boolean testOnBorrow, boolean testOnReturn, long timeBetweenEvictionRunsMillis, int numTestsPerEvictionRun, long minEvictableIdleTimeMillis, boolean testWhileIdle)
           
 
メソッドの概要
 ObjectPool createPool()
          新たな ObjectPool を生成し返します。
 
クラス java.lang.Object から継承したメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

GenericObjectPoolFactory

public GenericObjectPoolFactory(PoolableObjectFactory factory)

GenericObjectPoolFactory

public GenericObjectPoolFactory(PoolableObjectFactory factory,
                                GenericObjectPool.Config config)

GenericObjectPoolFactory

public GenericObjectPoolFactory(PoolableObjectFactory factory,
                                int maxActive)

GenericObjectPoolFactory

public GenericObjectPoolFactory(PoolableObjectFactory factory,
                                int maxActive,
                                byte whenExhaustedAction,
                                long maxWait)

GenericObjectPoolFactory

public GenericObjectPoolFactory(PoolableObjectFactory factory,
                                int maxActive,
                                byte whenExhaustedAction,
                                long maxWait,
                                boolean testOnBorrow,
                                boolean testOnReturn)

GenericObjectPoolFactory

public GenericObjectPoolFactory(PoolableObjectFactory factory,
                                int maxActive,
                                byte whenExhaustedAction,
                                long maxWait,
                                int maxIdle)

GenericObjectPoolFactory

public GenericObjectPoolFactory(PoolableObjectFactory factory,
                                int maxActive,
                                byte whenExhaustedAction,
                                long maxWait,
                                int maxIdle,
                                boolean testOnBorrow,
                                boolean testOnReturn)

GenericObjectPoolFactory

public GenericObjectPoolFactory(PoolableObjectFactory factory,
                                int maxActive,
                                byte whenExhaustedAction,
                                long maxWait,
                                int maxIdle,
                                boolean testOnBorrow,
                                boolean testOnReturn,
                                long timeBetweenEvictionRunsMillis,
                                int numTestsPerEvictionRun,
                                long minEvictableIdleTimeMillis,
                                boolean testWhileIdle)

GenericObjectPoolFactory

public GenericObjectPoolFactory(PoolableObjectFactory factory,
                                int maxActive,
                                byte whenExhaustedAction,
                                long maxWait,
                                int maxIdle,
                                int minIdle,
                                boolean testOnBorrow,
                                boolean testOnReturn,
                                long timeBetweenEvictionRunsMillis,
                                int numTestsPerEvictionRun,
                                long minEvictableIdleTimeMillis,
                                boolean testWhileIdle)
メソッドの詳細

createPool

public ObjectPool createPool()
インタフェース ObjectPoolFactory の記述:
新たな ObjectPool を生成し返します。

定義:
インタフェース ObjectPoolFactory 内の createPool
戻り値:
新たな ObjectPool


このドキュメントは、Ja-Jakartaにより訳されました。 コメントがある場合は report@jajakarta.orgまでお願いします。
Translated into Japanese by jajakarta.org. The original page is here.
Copyright (c) 2002-2003 - Apache Software Foundation