- All Known Implementing Classes:
TracePointImpl
public interface TracePoint
Class to represent a tracepoint produced by IBM JVM's trace engine.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final String[]
-
Method Summary
-
Field Details
-
EVENT_TYPE
static final byte EVENT_TYPE- See Also:
-
EXCEPTION_TYPE
static final byte EXCEPTION_TYPE- See Also:
-
ENTRY_TYPE
static final byte ENTRY_TYPE- See Also:
-
ENTRY_EXCPT_TYPE
static final byte ENTRY_EXCPT_TYPE- See Also:
-
EXIT_TYPE
static final byte EXIT_TYPE- See Also:
-
EXIT_EXCPT_TYPE
static final byte EXIT_EXCPT_TYPE- See Also:
-
MEM_TYPE
static final byte MEM_TYPE- See Also:
-
MEM_EXCPT_TYPE
static final byte MEM_EXCPT_TYPE- See Also:
-
DEBUG_TYPE
static final byte DEBUG_TYPE- See Also:
-
DEBUG_EXCPT_TYPE
static final byte DEBUG_EXCPT_TYPE- See Also:
-
PERF_TYPE
static final byte PERF_TYPE- See Also:
-
PERF_EXCPT_TYPE
static final byte PERF_EXCPT_TYPE- See Also:
-
ASSERT_TYPE
static final byte ASSERT_TYPE- See Also:
-
APP_TYPE
static final byte APP_TYPE- See Also:
-
ERROR_TYPE
static final byte ERROR_TYPE- See Also:
-
types
-
-
Method Details
-
getID
int getID()- Returns:
- the numeric sub-identifier of the current tracepoint within the current component. A tracepoint is identified by componentName](containerCompName)].numericID, for example, comp1.14, or comp1(comp2).12.
-
getTimestampMillis
long getTimestampMillis()- Returns:
- the GMT time in milliseconds at which this TracePoint was produced.
-
getMicrosecondsCount
int getMicrosecondsCount()- Returns:
- the high resolution timer value stored at the time this tracepoint was generated.
-
getRawTime
BigInteger getRawTime()- Returns:
- the raw timestamp
-
getFormattedTime
String getFormattedTime()- Returns:
- the time in the format ????????
-
getThread
TraceThread getThread()- Returns:
- the thread management object that this trace point belongs to.
-
getComponent
String getComponent()- Returns:
- the name of the component that produced this TracePoint. A tracepoint is identified by componentName](containerCompName)].numericID, for example, comp1.14, or comp1(comp2).12.
-
getContainerComponent
String getContainerComponent()- Returns:
- the name of the container component that produced the current TracePoint, or null if the TracePoint did not have a container component. A tracepoint is identified by componentName](containerCompName)].numericID, for example, comp1.14, or comp1(comp2).12.
-
getFormattedParameters
String getFormattedParameters()- Returns:
- a String containing the parameters formatted and interpolated into the TracePoint's formatting template.
-
getParameterFormattingTemplate
String getParameterFormattingTemplate()- Returns:
- a String containing the formatting template for this TracePoint.
-
getParameters
Object[] getParameters()- Returns:
- an array of objects, with one object per parameter generated by this TracePoint. Returns null if the TracePoint has no parameters, or if parameters were not recorded for this TracePoint.
-
getGroups
String[] getGroups()- Returns:
- a list of groups to which this TracePoint belongs, or none if it doesn't belong to any.
-
getLevel
int getLevel()- Returns:
- the level of this TracePoint.
-
getType
String getType()- Returns:
- the type of this TracePoint, for example, Entry, Exit or Event.
-