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.
VariablePoolConnectionManager.java の 54 行で定義されています。
|
Creates a new
参照元 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.clone().
|
|
Creates a new
|
|
org.objectweb.cjdbc.controller.connection.AbstractConnectionManagerを実装しています. VariablePoolConnectionManager.java の 131 行で定義されています。 参照先 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.
|
|
org.objectweb.cjdbc.controller.connection.AbstractConnectionManagerを実装しています. VariablePoolConnectionManager.java の 443 行で定義されています。 参照先 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.
|
|
org.objectweb.cjdbc.controller.connection.AbstractPoolConnectionManagerを再定義しています。 VariablePoolConnectionManager.java の 257 行で定義されています。 参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.idleTimeout, org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.RemoveIdleConnectionsThread.isKilled, と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.removeIdleConnectionsThread.
|
|
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.
org.objectweb.cjdbc.controller.connection.AbstractConnectionManagerを実装しています. VariablePoolConnectionManager.java の 293 行で定義されています。 参照先 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().
|
|
Gets the idle timeout. VariablePoolConnectionManager.java の 202 行で定義されています。 参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.idleTimeout.
|
|
Gets the max pool size.
参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.maxPoolSize.
|
|
Gets the min pool size.
参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.minPoolSize.
|
|
Gets the wait timeout. VariablePoolConnectionManager.java の 213 行で定義されています。 参照先 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.waitTimeout.
|
|
org.objectweb.cjdbc.controller.connection.AbstractConnectionManagerを実装しています. VariablePoolConnectionManager.java の 483 行で定義されています。 参照先 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.
|
|
org.objectweb.cjdbc.controller.connection.AbstractPoolConnectionManagerを再定義しています。 VariablePoolConnectionManager.java の 221 行で定義されています。 参照先 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.
|
|
|
Default idle timeout in milliseconds: default is 0 and means that once allocated, connections are never released. VariablePoolConnectionManager.java の 64 行で定義されています。 |
|
Default maximum pool size: default is 0 and means no limit. VariablePoolConnectionManager.java の 58 行で定義されています。 |
|
Default wait timeout in milliseconds: the default is 0 and means no timeout: waits until one connection is freed. VariablePoolConnectionManager.java の 70 行で定義されています。 |
|
|
Initial pool size to be initialized at startup. VariablePoolConnectionManager.java の 73 行で定義されています。 参照元 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getXmlImpl(), と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.initializeConnections(). |
|
|
|
Stores the time on which connections have been released. VariablePoolConnectionManager.java の 91 行で定義されています。 参照元 org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.getConnection(), org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.initializeConnections(), と org.objectweb.cjdbc.controller.connection.VariablePoolConnectionManager.releaseConnection(). |
|
|