-
- All Known Implementing Classes:
TracePointImpl
public interface TracePointClass to represent a tracepoint produced by IBM JVM's trace engine.
-
-
Field Summary
Fields Modifier and Type Field Description static byteAPP_TYPEstatic byteASSERT_TYPEstatic byteDEBUG_EXCPT_TYPEstatic byteDEBUG_TYPEstatic byteENTRY_EXCPT_TYPEstatic byteENTRY_TYPEstatic byteERROR_TYPEstatic byteEVENT_TYPEstatic byteEXCEPTION_TYPEstatic byteEXIT_EXCPT_TYPEstatic byteEXIT_TYPEstatic byteMEM_EXCPT_TYPEstatic byteMEM_TYPEstatic bytePERF_EXCPT_TYPEstatic bytePERF_TYPEstatic String[]types
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetComponent()StringgetContainerComponent()StringgetFormattedParameters()StringgetFormattedTime()String[]getGroups()intgetID()intgetLevel()intgetMicrosecondsCount()StringgetParameterFormattingTemplate()Object[]getParameters()BigIntegergetRawTime()TraceThreadgetThread()longgetTimestampMillis()StringgetType()
-
-
-
Field Detail
-
EVENT_TYPE
static final byte EVENT_TYPE
- See Also:
- Constant Field Values
-
EXCEPTION_TYPE
static final byte EXCEPTION_TYPE
- See Also:
- Constant Field Values
-
ENTRY_TYPE
static final byte ENTRY_TYPE
- See Also:
- Constant Field Values
-
ENTRY_EXCPT_TYPE
static final byte ENTRY_EXCPT_TYPE
- See Also:
- Constant Field Values
-
EXIT_TYPE
static final byte EXIT_TYPE
- See Also:
- Constant Field Values
-
EXIT_EXCPT_TYPE
static final byte EXIT_EXCPT_TYPE
- See Also:
- Constant Field Values
-
MEM_TYPE
static final byte MEM_TYPE
- See Also:
- Constant Field Values
-
MEM_EXCPT_TYPE
static final byte MEM_EXCPT_TYPE
- See Also:
- Constant Field Values
-
DEBUG_TYPE
static final byte DEBUG_TYPE
- See Also:
- Constant Field Values
-
DEBUG_EXCPT_TYPE
static final byte DEBUG_EXCPT_TYPE
- See Also:
- Constant Field Values
-
PERF_TYPE
static final byte PERF_TYPE
- See Also:
- Constant Field Values
-
PERF_EXCPT_TYPE
static final byte PERF_EXCPT_TYPE
- See Also:
- Constant Field Values
-
ASSERT_TYPE
static final byte ASSERT_TYPE
- See Also:
- Constant Field Values
-
APP_TYPE
static final byte APP_TYPE
- See Also:
- Constant Field Values
-
ERROR_TYPE
static final byte ERROR_TYPE
- See Also:
- Constant Field Values
-
types
static final String[] types
-
-
Method Detail
-
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.
-
-