程序包 com.mysql.cj.log
类 LoggingProfilerEventHandler
- java.lang.Object
-
- com.mysql.cj.log.LoggingProfilerEventHandler
-
- 所有已实现的接口:
ProfilerEventHandler
public class LoggingProfilerEventHandler extends Object implements ProfilerEventHandler
A profile event handler that just logs to the standard logging mechanism of the driver.
-
-
构造器概要
构造器 构造器 说明 LoggingProfilerEventHandler()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidconsumeEvent(ProfilerEvent evt)voiddestroy()voidinit(Log log)voidprocessEvent(byte eventType, Session session, Query query, Resultset resultSet, long eventDuration, Throwable eventCreationPoint, String message)
-
-
-
方法详细资料
-
consumeEvent
public void consumeEvent(ProfilerEvent evt)
- 指定者:
consumeEvent在接口中ProfilerEventHandler
-
destroy
public void destroy()
- 指定者:
destroy在接口中ProfilerEventHandler
-
init
public void init(Log log)
- 指定者:
init在接口中ProfilerEventHandler
-
processEvent
public void processEvent(byte eventType, Session session, Query query, Resultset resultSet, long eventDuration, Throwable eventCreationPoint, String message)- 指定者:
processEvent在接口中ProfilerEventHandler
-
-