类 MybatisPlusLoggingEventListener

java.lang.Object
com.p6spy.engine.event.JdbcEventListener
com.p6spy.engine.event.SimpleJdbcEventListener
com.p6spy.engine.logging.LoggingEventListener
com.baomidou.mybatisplus.extension.p6spy.MybatisPlusLoggingEventListener

public class MybatisPlusLoggingEventListener extends com.p6spy.engine.logging.LoggingEventListener
监听事件
从以下版本开始:
2019-11-10
作者:
nieqiurong
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
     
    void
    onAfterExecuteBatch(com.p6spy.engine.common.StatementInformation statementInformation, long timeElapsedNanos, int[] updateCounts, SQLException e)
     

    从类继承的方法 com.p6spy.engine.logging.LoggingEventListener

    logElapsed, onAfterAnyAddBatch, onAfterAnyExecute, onAfterCommit, onAfterGetResultSet, onAfterResultSetClose, onAfterResultSetGet, onAfterResultSetGet, onAfterResultSetNext, onAfterRollback, onBeforeResultSetNext

    从类继承的方法 com.p6spy.engine.event.SimpleJdbcEventListener

    onAfterAddBatch, onAfterAddBatch, onAfterExecute, onAfterExecute, onAfterExecuteQuery, onAfterExecuteQuery, onAfterExecuteUpdate, onAfterExecuteUpdate, onBeforeAddBatch, onBeforeAddBatch, onBeforeAnyAddBatch, onBeforeAnyExecute, onBeforeExecute, onBeforeExecute, onBeforeExecuteBatch, onBeforeExecuteQuery, onBeforeExecuteQuery, onBeforeExecuteUpdate, onBeforeExecuteUpdate

    从类继承的方法 com.p6spy.engine.event.JdbcEventListener

    onAfterCallableStatementSet, onAfterConnectionClose, onAfterGetConnection, onAfterPreparedStatementSet, onAfterSetAutoCommit, onAfterStatementClose, onBeforeCommit, onBeforeGetConnection, onBeforeRollback, onBeforeSetAutoCommit, onConnectionWrapped

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • MybatisPlusLoggingEventListener

      public MybatisPlusLoggingEventListener()
  • 方法详细资料

    • getInstance

      public static MybatisPlusLoggingEventListener getInstance()
    • onAfterExecuteBatch

      public void onAfterExecuteBatch(com.p6spy.engine.common.StatementInformation statementInformation, long timeElapsedNanos, int[] updateCounts, SQLException e)
      覆盖:
      onAfterExecuteBatch 在类中 com.p6spy.engine.logging.LoggingEventListener