Interface MethodTraceEvent

All Known Implementing Classes:
MethodTraceEventImpl

public interface MethodTraceEvent
This class contains information about a single method trace event. This information is available only if you enabled method tracing when you started the monitored application.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the end time of this profile event.
    Gets the name of this method.
    long
    Gets the start time of this profile event.
    long
    Gets the thread id that this profile event took place on.
    Gets the name of the thread that this profile event took place on.
  • Method Details

    • getName

      String getName()
      Gets the name of this method.
      Returns:
      a String representing the name.
    • getThreadName

      String getThreadName()
      Gets the name of the thread that this profile event took place on.
      Returns:
      the thread name.
    • getThreadID

      long getThreadID()
      Gets the thread id that this profile event took place on.
      Returns:
      the thread ID.
    • getStartTime

      long getStartTime()
      Gets the start time of this profile event.
      Returns:
      the time, in milliseconds since epoch, that this event started.
    • getEndTime

      long getEndTime()
      Gets the end time of this profile event.
      Returns:
      the time, in milliseconds since epoch, that this event ended.