Class P6SpyStatsCollector

  • All Implemented Interfaces:

    
    public final class P6SpyStatsCollector
    extends JdbcEventListener
                        

    P6Spy event listener that captures real JDBC execution times including result set processing time.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit onAfterExecuteQuery(PreparedStatementInformation statementInformation, Long timeElapsedNanos, SQLException e)
      Unit onAfterExecuteUpdate(PreparedStatementInformation statementInformation, Long timeElapsedNanos, Integer rowCount, SQLException e)
      Unit onAfterExecuteBatch(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