|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.util.TraceTimingHelper
This class implements static methods for TraceTiming logging.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
Constructor Summary | |
TraceTimingHelper()
|
Method Summary | |
static TraceTimingEntry |
addBeginEntry(String a_className,
String a_name,
boolean a_includeStackTrace,
TraceTimingLogger a_logger)
Adds a begin entry to the log. |
static TraceTimingEntry |
addBeginEntry(String a_className,
String a_name,
long a_timeMillis,
Object a_info,
TraceTimingLogger a_logger)
Adds a begin entry to the log. |
static TraceTimingEntry |
addBeginEntry(String a_className,
String a_name,
Object a_info,
TraceTimingLogger a_logger)
Adds a begin entry to the log. |
static TraceTimingEntry |
addBreakEntry(String a_className,
String a_name,
long a_timeMillis,
Object a_info,
int a_level,
TraceTimingLogger a_logger)
Adds a bbreak-in-flow end entry to the log. |
static TraceTimingEntry |
addBreakEntry(String a_className,
String a_name,
Object a_info,
int a_level,
TraceTimingLogger a_logger)
Adds a break-in-flow end entry to the log. |
static TraceTimingEntry |
addEndEntry(String a_className,
String a_name,
long a_timeMillis,
Object a_info,
TraceTimingLogger a_logger)
Adds an end entry to the log. |
static TraceTimingEntry |
addEndEntry(String a_className,
String a_name,
Object a_info,
TraceTimingLogger a_logger)
Adds an end entry to the log. |
static int |
getEntryCount(TraceTimingRepositoryLogger a_repositoryLogger)
Retruns the current entry count for the specified Repository Logger. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
Constructor Detail |
public TraceTimingHelper()
Method Detail |
public static TraceTimingEntry addBeginEntry(String a_className, String a_name, long a_timeMillis, Object a_info, TraceTimingLogger a_logger)
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_logger
- The logger to log to.
public static TraceTimingEntry addBeginEntry(String a_className, String a_name, Object a_info, TraceTimingLogger a_logger)
a_className
- The name of the class associated with this entry.a_name
- The name associated with this entry.a_info
- Informative message associated with this entry.a_logger
- The logger to log to.
public static TraceTimingEntry addEndEntry(String a_className, String a_name, long a_timeMillis, Object a_info, TraceTimingLogger a_logger)
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_logger
- The logger to log to.
public static TraceTimingEntry addEndEntry(String a_className, String a_name, Object a_info, TraceTimingLogger a_logger)
a_className
- The name of the class associated with this entry.a_name
- The name associated with this entry.a_info
- Informative message associated with this entry.a_logger
- The logger to log to.
public static TraceTimingEntry addBeginEntry(String a_className, String a_name, boolean a_includeStackTrace, TraceTimingLogger a_logger)
a_className
- The name of the class associated with this entry.a_name
- The name associated with this entry.a_includeStackTrace
- Indicates whether the current stack trace should be added as an informative message associated with this entry.a_logger
- The logger to log to.
public static TraceTimingEntry addBreakEntry(String a_className, String a_name, long a_timeMillis, Object a_info, int a_level, TraceTimingLogger a_logger)
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
- Level of associated begin enty.a_logger
- The logger to log to.
public static TraceTimingEntry addBreakEntry(String a_className, String a_name, Object a_info, int a_level, TraceTimingLogger a_logger)
a_className
- The name of the class associated with this entry.a_name
- The name associated with this entry.a_info
- Informative message associated with this entry.a_level
- Level of associated begin enty.a_logger
- The logger to log to.
public static int getEntryCount(TraceTimingRepositoryLogger a_repositoryLogger)
a_repositoryLogger
- Repository Logger instance to use.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |