wt.util
Class TraceTimingEntry

java.lang.Object
  extended bywt.util.TraceTimingEntry
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BeginTraceTimingEntry, EndTraceTimingEntry

public abstract class TraceTimingEntry
extends Object
implements Serializable

This class holds data for a single Trace Timing entry.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  String className
           
private static String CLASSNAME
           
private static char COUNT_DELIMITER
           
private  Object info
           
private  int level
           
private  String name
           
private static char NAME_DELIMITER
           
private  String nameKey
           
private static String RESOURCE
           
private  long timeMillis
           
 
Constructor Summary
TraceTimingEntry(long a_timeMillis, String a_className, String a_name, Object a_info, int a_level)
          Constructs a instance using the specified parameters.
 
Method Summary
 String getClassName()
          Gets the value of the attribute: className; The name of the class associated with this entry.
 String getCountKey(int a_count)
          Returns a key based on the entry's key and the specified count value.
 Object getInfo()
          Gets the value of the attribute: info; Informative message associated with this entry.
 int getLevel()
          Gets the value of the attribute: level; Call level.
 String getName()
          Gets the value of the attribute: name; The name associated with this entry.
 String getNameKey()
          Gets the value of the attribute: nameKey; Unique key representation of the name of this entry.
static String getNameKeyFromCountKey(String a_countKey)
          Returns an entry name key based on the specified count key.
 long getTimeMillis()
          Gets the value of the attribute: timeMillis; Time in milliseconds.
abstract  boolean isBegin()
          Gets the value of the attribute: begin; Indicates whether this is a begin(true) or end(false) entry.
abstract  boolean isBreakInFlow()
          Gets the value of the attribute: breakInFlow; Indicates whether this entry indicates a break in flow (true) or a normal end(false).
 void setInfo(Object a_Info)
          Sets the value of the attribute: info; Informative message associated with this entry.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

timeMillis

private long timeMillis

className

private String className

name

private String name

info

private Object info

level

private int level

COUNT_DELIMITER

private static final char COUNT_DELIMITER
See Also:
Constant Field Values

NAME_DELIMITER

private static final char NAME_DELIMITER
See Also:
Constant Field Values

nameKey

private transient String nameKey
Constructor Detail

TraceTimingEntry

public TraceTimingEntry(long a_timeMillis,
                        String a_className,
                        String a_name,
                        Object a_info,
                        int a_level)
Constructs a instance using the specified parameters.

Supported API: false

Parameters:
a_timeMillis - Time in milliseconds. If less than zero, then the current system time is used.
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 - Indicates the call level of the entry.
Method Detail

getTimeMillis

public long getTimeMillis()
Gets the value of the attribute: timeMillis; Time in milliseconds.

Supported API: false

Returns:
long

isBegin

public abstract boolean isBegin()
Gets the value of the attribute: begin; Indicates whether this is a begin(true) or end(false) entry.

Supported API: false

Returns:
boolean

getClassName

public String getClassName()
Gets the value of the attribute: className; The name of the class associated with this entry.

Supported API: false

Returns:
String

getName

public String getName()
Gets the value of the attribute: name; The name associated with this entry.

Supported API: false

Returns:
String

getInfo

public Object getInfo()
Gets the value of the attribute: info; Informative message associated with this entry.

Supported API: false

Returns:
Object

setInfo

public void setInfo(Object a_Info)
Sets the value of the attribute: info; Informative message associated with this entry.

Supported API: false

Parameters:
a_Info -

getLevel

public int getLevel()
Gets the value of the attribute: level; Call level.

Supported API: false

Returns:
int

getNameKey

public String getNameKey()
Gets the value of the attribute: nameKey; Unique key representation of the name of this entry.

Supported API: false

Returns:
String

isBreakInFlow

public abstract boolean isBreakInFlow()
Gets the value of the attribute: breakInFlow; Indicates whether this entry indicates a break in flow (true) or a normal end(false).

Supported API: false

Returns:
boolean

getCountKey

public String getCountKey(int a_count)
Returns a key based on the entry's key and the specified count value.

Supported API: false

Parameters:
a_count - Count to use in constructing the key.
Returns:
String

getNameKeyFromCountKey

public static String getNameKeyFromCountKey(String a_countKey)
Returns an entry name key based on the specified count key.

Supported API: false

Parameters:
a_countKey - Count key to parse.
Returns:
String

toString

public String toString()