クラス org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager

org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManagerに対する継承グラフ

Inheritance graph
[凡例]
org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManagerのコラボレーション図

Collaboration graph
[凡例]
すべてのメンバ一覧

説明

This connection manager provides connection pooling with a dynamically adjustable pool size.

If the maximum number of active connections is not reached, the getConnection()method creates a connection. Else, the execution is blocked until a connection is freed or the timeout expires. blocked until a connection is freed or the timeout expires.

Idle connections in the pool are removed after the timeout idleTimeout if the minimum pool size has not been reached.

作者:
Emmanuel Cecchet

Mathieu Peltier

Nicolas Modrzyk

バージョン:
1.0

VariablePoolConnectionManager.java54 行で定義されています。

Public メソッド

 VariablePoolConnectionManager (String backendUrl, String backendName, String rLogin, String rPassword, String driverPath, String driverClassName, int minPoolSize, int maxPoolSize, int idleTimeout, int waitTimeout)
 VariablePoolConnectionManager (String backendUrl, String backendName, String rLogin, String rPassword, String driverPath, String driverClassName, int initPoolSize, int minPoolSize, int maxPoolSize, int idleTimeout, int waitTimeout)
int getMaxPoolSize ()
int getMinPoolSize ()
int getIdleTimeout ()
int getWaitTimeout ()
synchronized void initializeConnections () throws SQLException
synchronized void finalizeConnections () throws SQLException
Connection getConnection () throws UnreachableBackendException
void releaseConnection (Connection c)
void deleteConnection (Connection c)
String getXmlImpl ()

Static Public 変数

final int DEFAULT_MAX_POOL_SIZE = 0
final int DEFAULT_IDLE_TIMEOUT = 0
final int DEFAULT_WAIT_TIMEOUT = 0

Protected メソッド

Object clone () throws CloneNotSupportedException

Private 変数

int initPoolSize
int minPoolSize
int maxPoolSize
int idleTimeout
int waitTimeout
Stack releaseTimes
RemoveIdleConnectionsThread removeIdleConnectionsThread


コンストラクタとデストラクタ

org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.VariablePoolConnectionManager String  backendUrl,
String  backendName,
String  rLogin,
String  rPassword,
String  driverPath,
String  driverClassName,
int  minPoolSize,
int  maxPoolSize,
int  idleTimeout,
int  waitTimeout
 

Creates a new VariablePoolConnectionManager instance with the default minPoolSize(initial pool size to be initialized at startup).

引数:
backendUrl URL of the DatabaseBackend owning this connection manager
backendName name of the DatabaseBackend owning this connection manager
rLogin backend connection login to be used by this connection manager
rPassword backend connection password to be used by this connection manager
driverPath path for driver
driverClassName class name for driver
minPoolSize minimum pool size.
maxPoolSize maximum pool size. 0 means no limit.
idleTimeout time a connection can stay idle before begin released (removed from the pool) in seconds. 0 means no timeout: once allocated, connections are never released.
waitTimeout maximum time to wait for a connection in seconds. 0 means no timeout: waits until one connection is freed.
VariablePoolConnectionManager.java118 行で定義されています。

参照元 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.clone().

00122 { 00123 this(backendUrl, backendName, rLogin, rPassword, driverPath, 00124 driverClassName, minPoolSize, minPoolSize, maxPoolSize, idleTimeout, 00125 waitTimeout); 00126 }

org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.VariablePoolConnectionManager String  backendUrl,
String  backendName,
String  rLogin,
String  rPassword,
String  driverPath,
String  driverClassName,
int  initPoolSize,
int  minPoolSize,
int  maxPoolSize,
int  idleTimeout,
int  waitTimeout
 

Creates a new VariablePoolConnectionManager instance.

引数:
backendUrl URL of the DatabaseBackend owning this connection manager
backendName name of the DatabaseBackend owning this connection manager
rLogin backend connection login to be used by this connection manager
rPassword backend connection password to be used by this connection manager
driverPath path for driver
driverClassName class name for driver
initPoolSize initial pool size to be intialized at startup
minPoolSize minimum pool size.
maxPoolSize maximum pool size. 0 means no limit.
idleTimeout time a connection can stay idle before begin released (removed from the pool) in seconds. 0 means no timeout: once allocated, connections are never released.
waitTimeout maximum time to wait for a connection in seconds. 0 means no timeout: waits until one connection is freed.
VariablePoolConnectionManager.java160 行で定義されています。
00164 { 00165 super(backendUrl, backendName, rLogin, rPassword, driverPath, 00166 driverClassName, maxPoolSize == 0 ? (initPoolSize > minPoolSize 00167 ? initPoolSize 00168 : minPoolSize) : maxPoolSize); 00169 this.initPoolSize = initPoolSize; 00170 this.minPoolSize = minPoolSize; 00171 this.maxPoolSize = maxPoolSize; 00172 this.idleTimeout = idleTimeout * 1000; 00173 this.waitTimeout = waitTimeout * 1000; 00174 }


メソッド

Object org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.clone  )  throws CloneNotSupportedException [protected, virtual]
 

参照:
java.lang.Object#clone()

org.objectweb.cjdbc.controller.connection.AbstractConnectionManagerを実装しています.

VariablePoolConnectionManager.java131 行で定義されています。

参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.idleTimeout, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.maxPoolSize, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.minPoolSize, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.VariablePoolConnectionManager(), と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.waitTimeout.

00132 { 00133 return new VariablePoolConnectionManager(backendUrl, backendName, rLogin, 00134 rPassword, driverPath, driverClassName, minPoolSize, maxPoolSize, 00135 idleTimeout, waitTimeout); 00136 }

void org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.deleteConnection Connection  c  )  [virtual]
 

参照:
org.objectweb.cjdbc.controller.connection.AbstractPoolConnectionManager.deleteConnection(Connection)

org.objectweb.cjdbc.controller.connection.AbstractConnectionManagerを実装しています.

VariablePoolConnectionManager.java443 行で定義されています。

参照先 org.objectweb.cjdbc.common.log.Trace.debug(), org.objectweb.cjdbc.common.log.Trace.error(), org.objectweb.cjdbc.controller.connection.AbstractConnectionManager.getConnectionFromDriver(), org.objectweb.cjdbc.common.log.Trace.isDebugEnabled(), と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.minPoolSize.

00444 { 00445 if (!initialized) 00446 return; // We probably have been disabled 00447 00448 synchronized (freeConnections) 00449 { 00450 if (activeConnections.remove(c)) 00451 { 00452 poolSize--; 00453 if (poolSize < minPoolSize) 00454 { 00455 Connection newConnection = getConnectionFromDriver(); 00456 if (newConnection == null) 00457 { 00458 if (logger.isDebugEnabled()) 00459 logger.error("Bad connection " + c 00460 + " has been removed but cannot be replaced."); 00461 } 00462 else 00463 { 00464 freeConnections.push(newConnection); 00465 freeConnections.notify(); 00466 if (logger.isDebugEnabled()) 00467 logger.debug("Bad connection " + c 00468 + " has been replaced by a new connection."); 00469 } 00470 } 00471 else if (logger.isDebugEnabled()) 00472 logger.debug("Bad connection " + c + " has been removed."); 00473 } 00474 else 00475 logger.error("Failed to release connection " + c 00476 + " (not found in active pool)"); 00477 } 00478 }

synchronized void org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.finalizeConnections  )  throws SQLException [virtual]
 

参照:
org.objectweb.cjdbc.controller.connection.AbstractConnectionManager.finalizeConnections()

org.objectweb.cjdbc.controller.connection.AbstractPoolConnectionManagerを再定義しています。

VariablePoolConnectionManager.java257 行で定義されています。

参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.idleTimeout, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.RemoveIdleConnectionsThread.isKilled, と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.removeIdleConnectionsThread.

00258 { 00259 if (removeIdleConnectionsThread != null) 00260 { 00261 synchronized (removeIdleConnectionsThread) 00262 { 00263 removeIdleConnectionsThread.isKilled = true; 00264 idleTimeout = 0; 00265 removeIdleConnectionsThread.notify(); 00266 } 00267 try 00268 { 00269 removeIdleConnectionsThread.join(); 00270 } 00271 catch (InterruptedException e) 00272 { 00273 } 00274 } 00275 super.finalizeConnections(); 00276 }

Connection org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getConnection  )  throws UnreachableBackendException [virtual]
 

Gets a connection from the pool.

If the current number of active connections is lower than the maximum pool size, a new connection is created. If the creation fails, this method waits for a connection to be freed.

If the maximum number of active connections is reached, this methods blocks until a connection is freed or the timeout expires.

戻り値:
a connection from the pool or null if the timeout has expired.
例外:
UnreachableBackendException if the backend must be disabled
参照:
org.objectweb.cjdbc.controller.connection.AbstractConnectionManager.getConnection()

org.objectweb.cjdbc.controller.connection.AbstractConnectionManagerを実装しています.

VariablePoolConnectionManager.java293 行で定義されています。

参照先 org.objectweb.cjdbc.common.log.Trace.error(), org.objectweb.cjdbc.controller.connection.AbstractConnectionManager.getConnectionFromDriver(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.idleTimeout, org.objectweb.cjdbc.common.log.Trace.isErrorEnabled(), org.objectweb.cjdbc.common.log.Trace.isWarnEnabled(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.maxPoolSize, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.releaseTimes, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.waitTimeout, と org.objectweb.cjdbc.common.log.Trace.warn().

00294 { 00295 if (!initialized) 00296 { 00297 logger 00298 .error("Requesting a connection from a non-initialized connection manager"); 00299 return null; 00300 } 00301 00302 long lTimeout = waitTimeout; 00303 synchronized (freeConnections) 00304 { 00305 if (freeConnections.isEmpty()) 00306 { 00307 if ((maxPoolSize == 0) || (activeConnections.size() < maxPoolSize)) 00308 { 00309 Connection c = getConnectionFromDriver(); 00310 if (c == null) 00311 { 00312 if (activeConnections.size() == 0) 00313 { // No connection active and backend unreachable, the backend 00314 // is probably dead 00315 logger 00316 .error("Backend " + backendName + " is no more accessible."); 00317 throw new UnreachableBackendException(); 00318 } 00319 // If it fails, just wait for a connection to be freed 00320 if (logger.isWarnEnabled()) 00321 logger.warn("Failed to create new connection on backend '" 00322 + backendName + "', waiting for a connection to be freed."); 00323 } 00324 else 00325 { 00326 freeConnections.add(c); 00327 if (idleTimeout != 0) 00328 { 00329 releaseTimes.add(new Long(System.currentTimeMillis())); 00330 } 00331 poolSize++; 00332 } 00333 } 00334 00335 /* 00336 * We have to do a while loop() because there is a potential race here. 00337 * When freeConnections is notified in releaseConnection, a new thread 00338 * can take the lock on freeConnections before we wake up/reacquire the 00339 * lock on freeConnections. Therefore, we could wake up and have no 00340 * connection to take! We ensure that everything is correct with a while 00341 * statement and recomputing the timeout between 2 wakeup. 00342 */ 00343 while (freeConnections.isEmpty()) 00344 { 00345 // Wait 00346 try 00347 { 00348 if (lTimeout > 0) 00349 { 00350 long start = System.currentTimeMillis(); 00351 // Convert seconds to milliseconds for wait call 00352 freeConnections.wait(waitTimeout); 00353 long end = System.currentTimeMillis(); 00354 lTimeout -= end - start; 00355 if (lTimeout <= 0) 00356 { 00357 if (logger.isWarnEnabled()) 00358 logger.warn("Timeout expired for connection on backend '" 00359 + backendName 00360 + "', consider increasing pool size (current size is " 00361 + poolSize + ") or timeout (current timeout is " 00362 + (waitTimeout / 1000) + " seconds)"); 00363 return null; 00364 } 00365 } 00366 else 00367 { 00368 freeConnections.wait(); 00369 } 00370 } 00371 catch (InterruptedException e) 00372 { 00373 logger 00374 .error("Wait on freeConnections interrupted in VariablePoolConnectionManager"); 00375 return null; 00376 } 00377 } 00378 } 00379 00380 // Get the connection 00381 try 00382 { 00383 Connection c = (Connection) freeConnections.pop(); 00384 if (idleTimeout != 0) 00385 { 00386 releaseTimes.pop(); 00387 } 00388 activeConnections.add(c); 00389 return c; 00390 } 00391 catch (EmptyStackException e) 00392 { 00393 if (logger.isErrorEnabled()) 00394 logger.error("Failed to get a connection on backend '" + backendName 00395 + "' but an idle connection was expected"); 00396 return null; 00397 } 00398 } 00399 }

int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getIdleTimeout  ) 
 

Gets the idle timeout.

戻り値:
a int value.
VariablePoolConnectionManager.java202 行で定義されています。

参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.idleTimeout.

00203 { 00204 return idleTimeout; 00205 }

int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getMaxPoolSize  ) 
 

Gets the max pool size.

戻り値:
a int value.
VariablePoolConnectionManager.java181 行で定義されています。

参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.maxPoolSize.

00182 { 00183 return maxPoolSize; 00184 }

int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getMinPoolSize  ) 
 

Gets the min pool size.

戻り値:
a int value.
VariablePoolConnectionManager.java191 行で定義されています。

参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.minPoolSize.

00192 { 00193 return minPoolSize; 00194 }

int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getWaitTimeout  ) 
 

Gets the wait timeout.

戻り値:
a int value.
VariablePoolConnectionManager.java213 行で定義されています。

参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.waitTimeout.

00214 { 00215 return waitTimeout; 00216 }

String org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getXmlImpl  )  [virtual]
 

参照:
org.objectweb.cjdbc.controller.connection.AbstractConnectionManager.getXmlImpl()

org.objectweb.cjdbc.controller.connection.AbstractConnectionManagerを実装しています.

VariablePoolConnectionManager.java483 行で定義されています。

参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.idleTimeout, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.initPoolSize, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.maxPoolSize, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.minPoolSize, と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.waitTimeout.

00484 { 00485 StringBuffer info = new StringBuffer(); 00486 info.append("<" + DatabasesXmlTags.ELT_VariablePoolConnectionManager + " " 00487 + DatabasesXmlTags.ATT_initPoolSize + "=\"" + initPoolSize + "\" " 00488 + DatabasesXmlTags.ATT_minPoolSize + "=\"" + minPoolSize + "\" " 00489 + DatabasesXmlTags.ATT_maxPoolSize + "=\"" + maxPoolSize + "\" " 00490 + DatabasesXmlTags.ATT_idleTimeout + "=\"" + idleTimeout / 1000 + "\" " 00491 + DatabasesXmlTags.ATT_waitTimeout + "=\"" + waitTimeout / 1000 00492 + "\"/>"); 00493 return info.toString(); 00494 }

synchronized void org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.initializeConnections  )  throws SQLException [virtual]
 

参照:
org.objectweb.cjdbc.controller.connection.AbstractPoolConnectionManager.initializeConnections()

org.objectweb.cjdbc.controller.connection.AbstractPoolConnectionManagerを再定義しています。

VariablePoolConnectionManager.java221 行で定義されています。

参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.idleTimeout, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.initPoolSize, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.releaseTimes, と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.removeIdleConnectionsThread.

00222 { 00223 super.initializeConnections(initPoolSize); 00224 00225 if (idleTimeout != 0) 00226 { 00227 // Create the thread which manages the free connections 00228 removeIdleConnectionsThread = new RemoveIdleConnectionsThread(this.backendName); 00229 00230 // Intialize release time for the initial connections if an idleTimeout 00231 // is set 00232 releaseTimes = new Stack(); 00233 Iterator it = freeConnections.iterator(); 00234 Long currentTime = new Long(System.currentTimeMillis()); 00235 while (it.hasNext()) 00236 { 00237 it.next(); 00238 releaseTimes.push(currentTime); 00239 } 00240 00241 // Start the thread 00242 removeIdleConnectionsThread.start(); 00243 00244 synchronized (removeIdleConnectionsThread) 00245 { 00246 if (releaseTimes.size() > 0) 00247 { 00248 removeIdleConnectionsThread.notify(); 00249 } 00250 } 00251 } 00252 }

void org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.releaseConnection Connection  c  )  [virtual]
 

参照:
org.objectweb.cjdbc.controller.connection.AbstractConnectionManager.releaseConnection(Connection)

org.objectweb.cjdbc.controller.connection.AbstractConnectionManagerを実装しています.

VariablePoolConnectionManager.java404 行で定義されています。

参照先 org.objectweb.cjdbc.common.log.Trace.error(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.idleTimeout, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.minPoolSize, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.releaseTimes, と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.removeIdleConnectionsThread.

00405 { 00406 if (!initialized) 00407 return; // We probably have been disabled 00408 00409 boolean notifyThread = false; 00410 synchronized (freeConnections) 00411 { 00412 if (activeConnections.remove(c)) 00413 { 00414 if (idleTimeout != 0) 00415 { 00416 notifyThread = freeConnections.isEmpty() 00417 || (freeConnections.size() == minPoolSize); 00418 freeConnections.push(c); 00419 freeConnections.notify(); 00420 releaseTimes.push(new Long(System.currentTimeMillis())); 00421 } 00422 else 00423 { 00424 freeConnections.push(c); 00425 freeConnections.notify(); 00426 } 00427 } 00428 else 00429 logger.error("Failed to release connection " + c 00430 + " (not found in active pool)"); 00431 } 00432 00433 if (notifyThread) 00434 synchronized (removeIdleConnectionsThread) 00435 { 00436 removeIdleConnectionsThread.notify(); 00437 } 00438 }


変数

final int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.DEFAULT_IDLE_TIMEOUT = 0 [static]
 

Default idle timeout in milliseconds: default is 0 and means that once allocated, connections are never released. VariablePoolConnectionManager.java64 行で定義されています。

final int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.DEFAULT_MAX_POOL_SIZE = 0 [static]
 

Default maximum pool size: default is 0 and means no limit. VariablePoolConnectionManager.java58 行で定義されています。

final int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.DEFAULT_WAIT_TIMEOUT = 0 [static]
 

Default wait timeout in milliseconds: the default is 0 and means no timeout: waits until one connection is freed. VariablePoolConnectionManager.java70 行で定義されています。

int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.idleTimeout [private]
 

Time a connection can stay idle before begin released (removed from the pool) in milliseconds (0 means forever) VariablePoolConnectionManager.java85 行で定義されています。

参照元 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.clone(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.finalizeConnections(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getConnection(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getIdleTimeout(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getXmlImpl(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.initializeConnections(), と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.releaseConnection().

int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.initPoolSize [private]
 

Initial pool size to be initialized at startup. VariablePoolConnectionManager.java73 行で定義されています。

参照元 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getXmlImpl(), と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.initializeConnections().

int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.maxPoolSize [private]
 

Maximum pool size. VariablePoolConnectionManager.java79 行で定義されています。

参照元 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.clone(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getConnection(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getMaxPoolSize(), と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getXmlImpl().

int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.minPoolSize [private]
 

Minimum pool size. VariablePoolConnectionManager.java76 行で定義されています。

参照元 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.clone(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.deleteConnection(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getMinPoolSize(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getXmlImpl(), と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.releaseConnection().

Stack org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.releaseTimes [private]
 

Stores the time on which connections have been released. VariablePoolConnectionManager.java91 行で定義されています。

参照元 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getConnection(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.initializeConnections(), と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.releaseConnection().

RemoveIdleConnectionsThread org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.removeIdleConnectionsThread [private]
 

Allow to remove idle connections in the pool. VariablePoolConnectionManager.java94 行で定義されています。

参照元 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.finalizeConnections(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.initializeConnections(), と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.releaseConnection().

int org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.waitTimeout [private]
 

Maximum time to wait for a connection in milliseconds. VariablePoolConnectionManager.java88 行で定義されています。

参照元 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.clone(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getConnection(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getWaitTimeout(), と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getXmlImpl().


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.4に対してTue Oct 12 15:16:40 2004に生成されました。 doxygen 1.3.8