wt.fc.profiling
Class SQLExecutionTimeProfilingLogger
java.lang.Object
wt.fc.profiling.AbstractProfilingLogger
wt.fc.profiling.SQLExecutionTimeProfilingLogger
- All Implemented Interfaces:
- TraceTimingLogger
- public class SQLExecutionTimeProfilingLogger
- extends AbstractProfilingLogger
This class implements a logger that reports SQL execution time to the
profiling services.
Supported API: false
Extendable: false
Method Summary |
TraceTimingEntry |
addBeginEntry(String a_className,
String a_name,
long a_timeMillis,
Object a_info)
Adds a begin entry to the log. |
TraceTimingEntry |
addBreakEntry(String a_className,
String a_name,
long a_timeMillis,
Object a_info,
int a_level)
Adds an break-in-flow, end entry to the log. |
TraceTimingEntry |
addEndEntry(String a_className,
String a_name,
long a_timeMillis,
Object a_info)
Adds an end entry to the log. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
DEBUG
public static final boolean DEBUG
LOG
private static final DebugWriter LOG
currentEntry
private transient BeginTraceTimingEntry currentEntry
DEFAULT_LEVEL
private static final int DEFAULT_LEVEL
- See Also:
- Constant Field Values
SQL_ENTRY_PREFIX
private static final String SQL_ENTRY_PREFIX
- See Also:
- Constant Field Values
SQL_EXECUTE_NAME
private static final String SQL_EXECUTE_NAME
- See Also:
- Constant Field Values
SQLExecutionTimeProfilingLogger
public SQLExecutionTimeProfilingLogger()
addBeginEntry
public TraceTimingEntry addBeginEntry(String a_className,
String a_name,
long a_timeMillis,
Object a_info)
- Adds a begin entry to the log.
Supported API: false
- Specified by:
addBeginEntry
in interface TraceTimingLogger
- Specified by:
addBeginEntry
in class AbstractProfilingLogger
- Parameters:
a_className
- The name of the class associated with this entry.a_name
- The name associated with this entry.a_timeMillis
- Time in milliseconds. If less than zero, then the current system time is used.a_info
- Informative message associated with this entry.
- Returns:
- TraceTimingEntry
addEndEntry
public TraceTimingEntry addEndEntry(String a_className,
String a_name,
long a_timeMillis,
Object a_info)
- Adds an end entry to the log.
Supported API: false
- Specified by:
addEndEntry
in interface TraceTimingLogger
- Specified by:
addEndEntry
in class AbstractProfilingLogger
- Parameters:
a_className
- The name of the class associated with this entry.a_name
- The name associated with this entry.a_timeMillis
- Time in milliseconds. If less than zero, then the current system time is used.a_info
- Informative message associated with this entry.
- Returns:
- TraceTimingEntry
addBreakEntry
public TraceTimingEntry addBreakEntry(String a_className,
String a_name,
long a_timeMillis,
Object a_info,
int a_level)
- Adds an break-in-flow, end entry to the log.
Supported API: false
- Specified by:
addBreakEntry
in interface TraceTimingLogger
- Specified by:
addBreakEntry
in class AbstractProfilingLogger
- Parameters:
a_className
- The name of the class associated with this entry.a_name
- The name associated with this entry.a_timeMillis
- Time in milliseconds. If less than zero, then the current system time is used.a_info
- Informative message associated with this entry.a_level
- Indicates the level of the corresponding begin entry.
- Returns:
- TraceTimingEntry