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 TypeMethodDescriptionlongGets the end time of this profile event.getName()Gets the name of this method.longGets the start time of this profile event.longGets 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.
-