java.lang.Object
com.ibm.java.diagnostics.healthcenter.api.methodtrace.impl.MethodTraceEventImpl
All Implemented Interfaces:
MethodTraceEvent

public class MethodTraceEventImpl extends Object implements MethodTraceEvent
  • Constructor Details

    • MethodTraceEventImpl

      public MethodTraceEventImpl(String methodName, String threadName, long threadID, double startTime, double endTime)
  • Method Details

    • getEndTime

      public long getEndTime()
      Description copied from interface: MethodTraceEvent
      Gets the end time of this profile event.
      Specified by:
      getEndTime in interface MethodTraceEvent
      Returns:
      the time, in milliseconds since epoch, that this event ended.
    • getName

      public String getName()
      Description copied from interface: MethodTraceEvent
      Gets the name of this method.
      Specified by:
      getName in interface MethodTraceEvent
      Returns:
      a String representing the name.
    • getStartTime

      public long getStartTime()
      Description copied from interface: MethodTraceEvent
      Gets the start time of this profile event.
      Specified by:
      getStartTime in interface MethodTraceEvent
      Returns:
      the time, in milliseconds since epoch, that this event started.
    • getThreadID

      public long getThreadID()
      Description copied from interface: MethodTraceEvent
      Gets the thread id that this profile event took place on.
      Specified by:
      getThreadID in interface MethodTraceEvent
      Returns:
      the thread ID.
    • getThreadName

      public String getThreadName()
      Description copied from interface: MethodTraceEvent
      Gets the name of the thread that this profile event took place on.
      Specified by:
      getThreadName in interface MethodTraceEvent
      Returns:
      the thread name.