public class SpyStats extends Object
Modifier and Type | Field and Description |
---|---|
protected QueryProfiler |
profiler |
Constructor and Description |
---|
SpyStats() |
Modifier and Type | Method and Description |
---|---|
protected void |
connectionClose(SpyConnection conn,
long startTime,
long endTime) |
protected void |
connectionCommit(SpyConnection conn,
long startTime,
long endTime) |
protected void |
connectionRollback(SpyConnection conn,
long startTime,
long endTime) |
protected void |
generateReport(Writer out) |
protected void |
preparedExecute(SpyPreparedStatement stm,
long startTime,
long endTime) |
protected void |
preparedExecuteQuery(SpyPreparedStatement stm,
long startTime,
long endTime) |
protected void |
preparedExecuteUpdate(SpyPreparedStatement stm,
int affectedSize,
long startTime,
long endTime) |
protected void |
resultNext(SpyResultSet rs,
boolean hasNext,
long startTime,
long endTime) |
protected void |
statementExecute(SpyStatement stm,
String sql,
long startTime,
long endTime) |
protected void |
statementExecuteBatch(SpyStatement stm,
String sql,
int batchSize,
long startTime,
long endTime) |
protected void |
statementExecuteQuery(SpyStatement stm,
String sql,
long startTime,
long endTime) |
protected void |
statementExecuteUpdate(SpyStatement stm,
String sql,
int affectedSize,
long startTime,
long endTime) |
protected QueryProfiler profiler
protected void connectionCommit(SpyConnection conn, long startTime, long endTime)
protected void connectionRollback(SpyConnection conn, long startTime, long endTime)
protected void connectionClose(SpyConnection conn, long startTime, long endTime)
protected void preparedExecute(SpyPreparedStatement stm, long startTime, long endTime)
protected void preparedExecuteQuery(SpyPreparedStatement stm, long startTime, long endTime)
protected void preparedExecuteUpdate(SpyPreparedStatement stm, int affectedSize, long startTime, long endTime)
protected void statementExecute(SpyStatement stm, String sql, long startTime, long endTime)
protected void statementExecuteQuery(SpyStatement stm, String sql, long startTime, long endTime)
protected void statementExecuteUpdate(SpyStatement stm, String sql, int affectedSize, long startTime, long endTime)
protected void statementExecuteBatch(SpyStatement stm, String sql, int batchSize, long startTime, long endTime)
protected void resultNext(SpyResultSet rs, boolean hasNext, long startTime, long endTime)
protected void generateReport(Writer out) throws IOException
IOException