Class implements simon jdbc proxy connection.
Every method of this connection is implemented as call of real connection method. Several methods have added work with simons (starting, stoping, etc.) for monitoring purposes.
From all statement-return-methods (createStatement(*)
, prepareStatement(*)
, prepareCall(*)
) connection returns own implementation of statement classes. Those classes are also proxies and provides additional simons for monitoring features of JDBC driver.
Monitoring connection ensure following simons:
- lifespan (
org.javasimon.jdbc.conn
, stopwatch) - measure connection life and count - active (
org.javasimon.jdbc.conn.active
, counter) - measure active (opened) connections - commits (
org.javasimon.jdbc.conn.commits
, counter) - measure executed commits of all connections - rollbacks (
org.javasimon.jdbc.conn.rollbacks
, counter) - measure executed rollbacks of all connections
@author Radovan Sninsky
@version $Revision: 127 $ $Date: 2008-12-13 13:24:55 +0100 (Sat, 13 Dec 2008) $
@created 6.8.2008 23:50:57
@since 1.0
@see java.sql.Connection