接口 SqlExecutedHandler


public interface SqlExecutedHandler
sql 执行拦截处理
作者:
johnhan
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    onDone(String datasoureName, String nativeSql, Long usedTime, Throwable error)
    执行完毕,可能出现错误
    void
    onTimeout(String datasoureName, String nativeSql, long thresholdMillSeconds)
    执行超时
  • 方法详细资料

    • onTimeout

      void onTimeout(String datasoureName, String nativeSql, long thresholdMillSeconds)
      执行超时
      参数:
      datasoureName -
      nativeSql -
      thresholdMillSeconds -
    • onDone

      void onDone(String datasoureName, String nativeSql, Long usedTime, Throwable error)
      执行完毕,可能出现错误
      参数:
      datasoureName -
      nativeSql -
      usedTime -
      error -