|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.util.TraceTimingRepository
This class implements a repository of Trace Timing entries.
Supported API: false
Extendable: false
Field Summary | |
private int |
callCount
|
private static String |
CLASSNAME
|
private static boolean |
DEBUG
|
private List |
entryList
|
private int |
level
|
private static DebugWriter |
LOG
|
private Map |
propertyMap
|
private static String |
RESOURCE
|
Fields inherited from interface wt.util.TraceTimingRepositoryLogger |
CALL_COUNT, ENTRY_LIST |
Fields inherited from interface wt.util.TraceTimingLogger |
PROPERTY_MAP |
Constructor Summary | |
TraceTimingRepository()
|
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. |
int |
getCallCount()
Gets the value of the attribute: callCount; The top level call count. |
List |
getEntryList()
Gets the value of the attribute: entryList; The list of all entries. |
Map |
getPropertyMap()
Gets the value of the attribute: propertyMap; Property map used to control the behavior of the Logger. |
void |
setPropertyMap(Map a_PropertyMap)
Sets the value of the attribute: propertyMap; Property map used to control the behavior of the 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
private List entryList
private int callCount
private Map propertyMap
private static final boolean DEBUG
private static final DebugWriter LOG
private transient int level
Constructor Detail |
public TraceTimingRepository()
Method Detail |
public List getEntryList()
getEntryList
in interface TraceTimingRepositoryLogger
public int getCallCount()
getCallCount
in interface TraceTimingRepositoryLogger
public Map getPropertyMap()
getPropertyMap
in interface TraceTimingLogger
public void setPropertyMap(Map a_PropertyMap) throws WTPropertyVetoException
setPropertyMap
in interface TraceTimingLogger
a_PropertyMap
-
WTPropertyVetoException
public TraceTimingEntry addBeginEntry(String a_className, String a_name, long a_timeMillis, Object a_info)
addBeginEntry
in interface TraceTimingLogger
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.
public TraceTimingEntry addEndEntry(String a_className, String a_name, long a_timeMillis, Object a_info)
addEndEntry
in interface TraceTimingLogger
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.
public TraceTimingEntry addBreakEntry(String a_className, String a_name, long a_timeMillis, Object a_info, int a_level)
addBreakEntry
in interface TraceTimingLogger
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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |