|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Method Summary | |
|---|---|
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 |
| Field Detail |
|---|
static final java.lang.String CLASS_VERSION
| Method Detail |
|---|
void incrementErrorCount()
void incrementCommitCount()
void incrementRollbackCount()
void incrementCreateStatementCount()
void incrementPrepareStatementCount()
void incrementPrepareCallCount()
void incrementExecuteQueryCount()
void incrementExecuteUpdateCount()
void incrementExecuteCount()
void incrementGetMoreResultsCount()
void incrementResultSetRowCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||