org.apache.avalon.excalibur.datasource
クラス JdbcConnectionPool
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLogEnabled
|
+--org.apache.avalon.excalibur.pool.AbstractPool
|
+--org.apache.avalon.excalibur.pool.DefaultPool
|
+--org.apache.avalon.excalibur.pool.SoftResourceLimitingPool
|
+--org.apache.avalon.excalibur.pool.HardResourceLimitingPool
|
+--org.apache.avalon.excalibur.datasource.JdbcConnectionPool
- すべての実装インタフェース:
- org.apache.avalon.framework.component.Component, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.logger.Loggable, Pool, Resizable, java.lang.Runnable, org.apache.avalon.framework.thread.ThreadSafe
- public class JdbcConnectionPool
- extends HardResourceLimitingPool
- implements java.lang.Runnable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable
The Pool implementation for JdbcConnections. It uses a background
thread to manage the number of SQL Connections.
- 導入されたバージョン:
- 4.0
- バージョン:
- CVS $Revision: 1.14 $ $Date: 2001/12/21 16:58:06 $
- 作成者:
- Berin Loritsch
クラス org.apache.avalon.framework.logger.AbstractLogEnabled から継承したメソッド |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース org.apache.avalon.framework.activity.Disposable から継承したメソッド |
dispose |
JdbcConnectionPool
public JdbcConnectionPool(JdbcConnectionFactory factory,
DefaultPoolController controller,
int min,
int max,
boolean autoCommit)
throws java.lang.Exception
setTimeout
public void setTimeout(long timeout)
- Set the timeout in milliseconds for blocking when waiting for a
new connection. It defaults to -1. Any number below 1 means that there
is no blocking, and the Pool fails hard. Any number above 0 means we
will wait for that length of time before failing.
initialize
public void initialize()
- 定義:
- インタフェース
org.apache.avalon.framework.activity.Initializable
内の initialize
- オーバーライド:
- クラス
HardResourceLimitingPool
内の initialize
newPoolable
protected final Poolable newPoolable()
throws java.lang.Exception
- クラス
AbstractPool
の記述:
- This is the method to override when you need to enforce creational
policies.
- オーバーライド:
- クラス
HardResourceLimitingPool
内の newPoolable
get
public Poolable get()
throws java.lang.Exception
- オーバーライド:
- クラス
DefaultPool
内の get
put
public void put(Poolable obj)
- オーバーライド:
- クラス
DefaultPool
内の put
run
public void run()
- 定義:
- インタフェース
java.lang.Runnable
内の run
"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."