wt.fc.profiling
Class SQLProfilingKey

java.lang.Object
  extended bywt.tools.profiler.ProfilingKeyAdapter
      extended bywt.fc.profiling.SQLProfilingKey
All Implemented Interfaces:
ProfilingKey, ProfilingListener, Serializable

public class SQLProfilingKey
extends ProfilingKeyAdapter
implements ProfilingListener

This class implments a ProfilingKey and ProfilingListener for the ability to profile SQL operations via the Profile service.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  Class loggerClass
           
static String PROFILING_BIND_PARAMETERS
           
private static String PROFILING_DISPLAY_NAME
           
static String PROFILING_EXECUTION_TIME
           
static String PROFILING_ROW_COUNT
           
 
Fields inherited from class wt.tools.profiler.ProfilingKeyAdapter
VERBOSE
 
Constructor Summary
SQLProfilingKey(Class a_loggerClass, String a_costName, String a_dataName)
           
 
Method Summary
 void setEnabled(boolean enabled)
           
 
Methods inherited from class wt.tools.profiler.ProfilingKeyAdapter
EnabledInGUI, equals, getCostName, getDataName, getDispName, hashCode, optEnabledInGUI, setCostName, setDataName, setDispName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PROFILING_EXECUTION_TIME

public static final String PROFILING_EXECUTION_TIME
See Also:
Constant Field Values

PROFILING_ROW_COUNT

public static final String PROFILING_ROW_COUNT
See Also:
Constant Field Values

PROFILING_BIND_PARAMETERS

public static final String PROFILING_BIND_PARAMETERS
See Also:
Constant Field Values

PROFILING_DISPLAY_NAME

private static final String PROFILING_DISPLAY_NAME
See Also:
Constant Field Values

loggerClass

private transient Class loggerClass
Constructor Detail

SQLProfilingKey

public SQLProfilingKey(Class a_loggerClass,
                       String a_costName,
                       String a_dataName)
Method Detail

setEnabled

public void setEnabled(boolean enabled)
                throws WTException
Specified by:
setEnabled in interface ProfilingListener
Parameters:
enabled -
Throws:
WTException