public interface ConnectionStats
This interface represents an object that is able to maintain statistics about JDBC connections, including the number of statements issued and number of result set rows read.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Modifier and Type | Method and Description |
|---|---|
void |
incrementCommitCount()
Increments the number of times commit() has been called
|
void |
incrementCreateStatementCount()
Increments the number of times createStatement() has been called
|
void |
incrementErrorCount()
Increments the number of times a SQLException resulted from
calls.
|
void |
incrementExecuteCount()
Increments the number of times Statement.execute() has been
called
|
void |
incrementExecuteQueryCount()
Increments the number of times Statement.executeQuery() has been
called
|
void |
incrementExecuteUpdateCount()
Increments the number of times Statement.executeUpdate() has been
called
|
void |
incrementGetMoreResultsCount()
Increments the number of times Statement.getMoreResults() has been
called
|
void |
incrementPrepareCallCount()
Increments the number of times prepareCall() has been called
|
void |
incrementPrepareStatementCount()
Increments the number of times prepareStatement() has been called
|
void |
incrementResultSetRowCount()
Increments the number of times ResultSet.next() has been called
|
void |
incrementRollbackCount()
Increments the number of times rollback() has been called
|
static final java.lang.String CLASS_VERSION
void incrementErrorCount()
void incrementCommitCount()
void incrementRollbackCount()
void incrementCreateStatementCount()
void incrementPrepareStatementCount()
void incrementPrepareCallCount()
void incrementExecuteQueryCount()
void incrementExecuteUpdateCount()
void incrementExecuteCount()
void incrementGetMoreResultsCount()
void incrementResultSetRowCount()