ConnectionClosingThread
wakes up every 5 seconds when close() has been called on a connection and it frees the connection if it has not been reused.
ConnectionClosingThread.java の 39 行で定義されています。
Public メソッド | |
ConnectionClosingThread (Driver driver) | |
void | run () |
Private メソッド | |
void | closeConnection (Connection c) |
Private 変数 | |
Driver | driver |
ArrayList | pendingConnectionClosing |
Static Private 変数 | |
final int | WAIT_TIME = 5000 |
|
Builds a new ConnectionClosingThread
参照先 org.objectweb.cjdbc.driver.Driver.connectionClosingThreadisAlive, と org.objectweb.cjdbc.driver.Driver.pendingConnectionClosing.
|
|
Closes a connection.
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.socket, org.objectweb.cjdbc.driver.Connection.socketInput, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.ConnectionClosingThread.run().
|
|
The connection closing thread wakes up every WAIT_TIME seconds when close() has been called on a connection and it frees the connection if it has not been reused. ConnectionClosingThread.java の 65 行で定義されています。 参照先 org.objectweb.cjdbc.driver.ConnectionClosingThread.closeConnection(), org.objectweb.cjdbc.driver.Driver.connectionClosingThreadisAlive, org.objectweb.cjdbc.driver.ConnectionClosingThread.driver, org.objectweb.cjdbc.driver.ConnectionClosingThread.pendingConnectionClosing, と org.objectweb.cjdbc.driver.ConnectionClosingThread.WAIT_TIME.
|
|
ConnectionClosingThread.java の 44 行で定義されています。 参照元 org.objectweb.cjdbc.driver.ConnectionClosingThread.run(). |
|
ConnectionClosingThread.java の 45 行で定義されています。 参照元 org.objectweb.cjdbc.driver.ConnectionClosingThread.run(). |
|
ConnectionClosingThread.java の 42 行で定義されています。 参照元 org.objectweb.cjdbc.driver.ConnectionClosingThread.run(). |