Class TracePoint
java.lang.Object
com.ibm.jvm.format.TracePoint
- All Implemented Interfaces:
 TracePoint, Comparable
- 
Constructor Summary
ConstructorsConstructorDescriptionTracePoint(byte[] rawTracePoint, int length, BigInteger upperWord, long threadID, String fileName, long offsetOfStartOfTracePointInFile, long offsetOfEndOfTracePointInFile, boolean wasFragmented)  - 
Method Summary
Modifier and TypeMethodDescriptionintCompares this object with the specified object for order.from()String[]intgetID()intgetLevel()intlonglongObject[]byte[]longlongintgetTPID()getType()intbooleanbooleanbooleanbooleanbooleanintvoidsetIsChangeOfThread(boolean isChangeOfThread) booleansetTracePointsUpperWord(BigInteger upperWord)  
- 
Constructor Details
- 
TracePoint
public TracePoint(byte[] rawTracePoint, int length, BigInteger upperWord, long threadID, String fileName, long offsetOfStartOfTracePointInFile, long offsetOfEndOfTracePointInFile, boolean wasFragmented)  
 - 
 - 
Method Details
- 
isLongTracePoint
public boolean isLongTracePoint() - 
longTracePointLength
public int longTracePointLength() - 
getFileName
 - 
getOffsetInTraceFile
public long getOffsetInTraceFile() - 
getTPID
public int getTPID() - 
getComponentName
 - 
getContainerComponentName
 - 
getThreadID
public long getThreadID()- Specified by:
 getThreadIDin interfaceTracePoint- Returns:
 - the thread identifier of the thread that produced this TracePoint.
 
 - 
getParameterDataFormatted
 - 
getParmData
public byte[] getParmData() - 
getRawTimeStamp
 - 
isTimerUpperWord
public boolean isTimerUpperWord() - 
getNewTimerUpperWord
public long getNewTimerUpperWord() - 
setTracePointsUpperWord
 - 
isNormalTracepoint
public boolean isNormalTracepoint() - 
isLostRecord
public boolean isLostRecord() - 
compareTo
Description copied from interface:java.lang.ComparableCompares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.The implementor must ensure
signum(x.compareTo(y)) == -signum(y.compareTo(x))for allxandy. (This implies thatx.compareTo(y)must throw an exception if and only ify.compareTo(x)throws an exception.)The implementor must also ensure that the relation is transitive:
(x.compareTo(y) > 0 && y.compareTo(z) > 0)impliesx.compareTo(z) > 0.Finally, the implementor must ensure that
x.compareTo(y)==0implies thatsignum(x.compareTo(z)) == signum(y.compareTo(z)), for allz.- Specified by:
 compareToin interfaceComparable- Parameters:
 other- the object to be compared.- Returns:
 - a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
 
 - 
getFormattedParameters
- Specified by:
 getFormattedParametersin interfaceTracePoint- Returns:
 - a String containing the parameters formatted and interpolated into the TracePoint's formatting template.
 
 - 
getFormattedTime
- Specified by:
 getFormattedTimein interfaceTracePoint- Returns:
 - the time in the format ????????
 
 - 
setIsChangeOfThread
public void setIsChangeOfThread(boolean isChangeOfThread)  - 
isInvalid
public boolean isInvalid() - 
getTypeAsInt
public int getTypeAsInt() - 
getID
public int getID()- Specified by:
 getIDin interfaceTracePoint- 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
public long getTimestampMillis()- Specified by:
 getTimestampMillisin interfaceTracePoint- Returns:
 - the GMT time in milliseconds at which this TracePoint was produced.
 
 - 
getMicrosecondsCount
public int getMicrosecondsCount()- Specified by:
 getMicrosecondsCountin interfaceTracePoint- Returns:
 - the high resolution timer value stored at the time this tracepoint was generated.
 
 - 
getComponent
- Specified by:
 getComponentin interfaceTracePoint- 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
- Specified by:
 getContainerComponentin interfaceTracePoint- 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.
 
 - 
getParameterFormattingTemplate
- Specified by:
 getParameterFormattingTemplatein interfaceTracePoint- Returns:
 - a String containing the formatting template for this TracePoint.
 
 - 
getParameters
- Specified by:
 getParametersin interfaceTracePoint- 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
- Specified by:
 getGroupsin interfaceTracePoint- Returns:
 - a list of groups to which this TracePoint belongs, or none if it doesn't belong to any.
 
 - 
getLevel
public int getLevel()- Specified by:
 getLevelin interfaceTracePoint- Returns:
 - the level of this TracePoint.
 
 - 
getType
- Specified by:
 getTypein interfaceTracePoint- Returns:
 - the type of this TracePoint, for example, Entry, Exit or Event.
 
 - 
from
 
 -