MySQL Connector/J size='-1'>5.0.8

com.mysql.jdbc.profiler
Class ProfileEventSink

java.lang.Object
  extended bycom.mysql.jdbc.profiler.ProfileEventSink

public class ProfileEventSink
extends java.lang.Object

Author:
mmatthew

Method Summary
 void consumeEvent(ProfilerEvent evt)
          Process a profiler event
static ProfileEventSink getInstance(Connection conn)
          Returns the ProfileEventSink that handles profiler events for the given connection.
static void removeInstance(Connection conn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ProfileEventSink getInstance(Connection conn)
Returns the ProfileEventSink that handles profiler events for the given connection.

Parameters:
conn - the connection to handle events for
Returns:
the ProfileEventSink that handles profiler events

consumeEvent

public void consumeEvent(ProfilerEvent evt)
Process a profiler event

Parameters:
evt - the event to process

removeInstance

public static void removeInstance(Connection conn)

MySQL Connector/J size='-1'>5.0.8