Top Description Fields Constructors Methods
com.mysql.cj.log

public Class LoggingProfilerEventHandler

extends Object
implements ProfilerEventHandler
Class Inheritance
All Implemented Interfaces
com.mysql.cj.log.ProfilerEventHandler
Imports
com.mysql.cj.Constants, .Query, .Session, com.mysql.cj.protocol.Resultset

A profile event handler that just logs to the standard logging mechanism of the driver.

Field Summary

Modifier and TypeField and Description
private Log

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
public void
processEvent(byte eventType, Session session, Query query, Resultset resultSet, long eventDuration, Throwable eventCreationPoint, String message)

Implements com.mysql.cj.log.ProfilerEventHandler.processEvent.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerback to summary
private Log logger

Constructor Detail

LoggingProfilerEventHandlerback to summary
public LoggingProfilerEventHandler()

Method Detail

consumeEventback to summary
public void consumeEvent(ProfilerEvent evt)

Implements com.mysql.cj.log.ProfilerEventHandler.consumeEvent.

Annotations
@Override
destroyback to summary
public void destroy()

Implements com.mysql.cj.log.ProfilerEventHandler.destroy.

Annotations
@Override
initback to summary
public void init(Log log)

Implements com.mysql.cj.log.ProfilerEventHandler.init.

Annotations
@Override
processEventback to summary
public void processEvent(byte eventType, Session session, Query query, Resultset resultSet, long eventDuration, Throwable eventCreationPoint, String message)

Implements com.mysql.cj.log.ProfilerEventHandler.processEvent.

Annotations
@Override