类 TracingQueryInterceptor

java.lang.Object
org.coodex.concrete.apm.mysql8.TracingQueryInterceptor
所有已实现的接口:
com.mysql.cj.interceptors.QueryInterceptor

public class TracingQueryInterceptor extends Object implements com.mysql.cj.interceptors.QueryInterceptor
修改自 https://github.com/openzipkin/brave/blob/master/instrumentation/mysql8/src/main/java/brave/mysql8/TracingQueryInterceptor.java ?queryInterceptors=org.coodex.concrete.apm.mysql8.TracingQueryInterceptor&exceptionInterceptors=org.coodex.concrete.apm.mysql8.TracingExceptionInterceptor
  • 构造器详细资料

    • TracingQueryInterceptor

      public TracingQueryInterceptor()
  • 方法详细资料

    • preProcess

      public <T extends com.mysql.cj.protocol.Resultset> T preProcess(Supplier<String> sqlSupplier, com.mysql.cj.Query interceptedQuery)
      指定者:
      preProcess 在接口中 com.mysql.cj.interceptors.QueryInterceptor
    • postProcess

      public <T extends com.mysql.cj.protocol.Resultset> T postProcess(Supplier<String> sql, com.mysql.cj.Query interceptedQuery, T originalResultSet, com.mysql.cj.protocol.ServerSession serverSession)
      指定者:
      postProcess 在接口中 com.mysql.cj.interceptors.QueryInterceptor
    • executeTopLevelOnly

      public boolean executeTopLevelOnly()
      指定者:
      executeTopLevelOnly 在接口中 com.mysql.cj.interceptors.QueryInterceptor
    • init

      public com.mysql.cj.interceptors.QueryInterceptor init(com.mysql.cj.MysqlConnection mysqlConnection, Properties properties, com.mysql.cj.log.Log log)
      指定者:
      init 在接口中 com.mysql.cj.interceptors.QueryInterceptor
    • destroy

      public void destroy()
      指定者:
      destroy 在接口中 com.mysql.cj.interceptors.QueryInterceptor