Package net.brdloush.dbstopwatch
Class P6SpyStatsCollector
-
- All Implemented Interfaces:
public final class P6SpyStatsCollector extends JdbcEventListenerP6Spy event listener that captures real JDBC execution times including result set processing time.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classP6SpyStatsCollector.BlockStatspublic classP6SpyStatsCollector.Companion
-
Field Summary
Fields Modifier and Type Field Description public final static P6SpyStatsCollector.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description P6SpyStatsCollector()
-
Method Summary
Modifier and Type Method Description UnitonAfterExecuteQuery(PreparedStatementInformation statementInformation, Long timeElapsedNanos, SQLException e)UnitonAfterExecuteUpdate(PreparedStatementInformation statementInformation, Long timeElapsedNanos, Integer rowCount, SQLException e)UnitonAfterExecuteBatch(StatementInformation statementInformation, Long timeElapsedNanos, IntArray updateCounts, SQLException e)-
Methods inherited from class com.p6spy.engine.event.JdbcEventListener
onAfterAddBatch, onAfterAddBatch, onAfterCallableStatementSet, onAfterCommit, onAfterConnectionClose, onAfterExecute, onAfterExecute, onAfterExecuteQuery, onAfterExecuteUpdate, onAfterGetConnection, onAfterGetResultSet, onAfterPreparedStatementSet, onAfterResultSetClose, onAfterResultSetGet, onAfterResultSetGet, onAfterResultSetNext, onAfterRollback, onAfterSetAutoCommit, onAfterStatementClose, onBeforeAddBatch, onBeforeAddBatch, onBeforeCommit, onBeforeExecute, onBeforeExecute, onBeforeExecuteBatch, onBeforeExecuteQuery, onBeforeExecuteQuery, onBeforeExecuteUpdate, onBeforeExecuteUpdate, onBeforeGetConnection, onBeforeResultSetNext, onBeforeRollback, onBeforeSetAutoCommit, onConnectionWrapped -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onAfterExecuteQuery
Unit onAfterExecuteQuery(PreparedStatementInformation statementInformation, Long timeElapsedNanos, SQLException e)
-
onAfterExecuteUpdate
Unit onAfterExecuteUpdate(PreparedStatementInformation statementInformation, Long timeElapsedNanos, Integer rowCount, SQLException e)
-
onAfterExecuteBatch
Unit onAfterExecuteBatch(StatementInformation statementInformation, Long timeElapsedNanos, IntArray updateCounts, SQLException e)
-
-
-
-