Class TracePointImpl

java.lang.Object
com.ibm.jvm.trace.format.api.TracePointImpl
All Implemented Interfaces:
TracePoint

public class TracePointImpl extends Object implements TracePoint
  • Constructor Details

  • Method Details

    • getTPID

      public int getTPID()
    • getComponentName

      public String getComponentName()
    • getContainerComponentName

      public String getContainerComponentName()
    • getThread

      public TraceThread getThread()
      Specified by:
      getThread in interface TracePoint
      Returns:
      the thread management object that this trace point belongs to.
    • getParameterDataFormatted

      public String getParameterDataFormatted()
    • getParmData

      public byte[] getParmData()
    • getRawTime

      public BigInteger getRawTime()
      Specified by:
      getRawTime in interface TracePoint
      Returns:
      the raw timestamp
    • getNewTimerUpperWord

      public long getNewTimerUpperWord()
    • isNormalTracepoint

      public boolean isNormalTracepoint()
    • getFormattedParameters

      public String getFormattedParameters()
      Specified by:
      getFormattedParameters in interface TracePoint
      Returns:
      a String containing the parameters formatted and interpolated into the TracePoint's formatting template.
    • getFormattedTime

      public String getFormattedTime()
      Specified by:
      getFormattedTime in interface TracePoint
      Returns:
      the time in the format ????????
    • isInvalid

      public boolean isInvalid()
    • getTypeAsInt

      public int getTypeAsInt()
    • getID

      public int getID()
      Specified by:
      getID in interface TracePoint
      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:
      getTimestampMillis in interface TracePoint
      Returns:
      the GMT time in milliseconds at which this TracePoint was produced.
    • getMicrosecondsCount

      public int getMicrosecondsCount()
      Specified by:
      getMicrosecondsCount in interface TracePoint
      Returns:
      the high resolution timer value stored at the time this tracepoint was generated.
    • getComponent

      public String getComponent()
      Specified by:
      getComponent in interface TracePoint
      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

      public String getContainerComponent()
      Specified by:
      getContainerComponent in interface TracePoint
      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

      public String getParameterFormattingTemplate()
      Specified by:
      getParameterFormattingTemplate in interface TracePoint
      Returns:
      a String containing the formatting template for this TracePoint.
    • getParameters

      public Object[] getParameters()
      Specified by:
      getParameters in interface TracePoint
      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

      public String[] getGroups()
      Specified by:
      getGroups in interface TracePoint
      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:
      getLevel in interface TracePoint
      Returns:
      the level of this TracePoint.
    • getType

      public String getType()
      Specified by:
      getType in interface TracePoint
      Returns:
      the type of this TracePoint, for example, Entry, Exit or Event.
    • getDebugInfo

      public String getDebugInfo()