atg.service.resourcepool
Interface ConnectionStats

All Known Implementing Classes:
JDBCConnectionPool, MonitoredDataSource, XAOnlyDataSource

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

CLASS_VERSION

static final java.lang.String CLASS_VERSION
Class version string

See Also:
Constant Field Values
Method Detail

incrementErrorCount

void incrementErrorCount()
Increments the number of times a SQLException resulted from calls.


incrementCommitCount

void incrementCommitCount()
Increments the number of times commit() has been called


incrementRollbackCount

void incrementRollbackCount()
Increments the number of times rollback() has been called


incrementCreateStatementCount

void incrementCreateStatementCount()
Increments the number of times createStatement() has been called


incrementPrepareStatementCount

void incrementPrepareStatementCount()
Increments the number of times prepareStatement() has been called


incrementPrepareCallCount

void incrementPrepareCallCount()
Increments the number of times prepareCall() has been called


incrementExecuteQueryCount

void incrementExecuteQueryCount()
Increments the number of times Statement.executeQuery() has been called


incrementExecuteUpdateCount

void incrementExecuteUpdateCount()
Increments the number of times Statement.executeUpdate() has been called


incrementExecuteCount

void incrementExecuteCount()
Increments the number of times Statement.execute() has been called


incrementGetMoreResultsCount

void incrementGetMoreResultsCount()
Increments the number of times Statement.getMoreResults() has been called


incrementResultSetRowCount

void incrementResultSetRowCount()
Increments the number of times ResultSet.next() has been called