Class MethodTraceEventImpl
java.lang.Object
com.ibm.java.diagnostics.healthcenter.api.methodtrace.impl.MethodTraceEventImpl
- All Implemented Interfaces:
MethodTraceEvent
-
Constructor Summary
ConstructorsConstructorDescriptionMethodTraceEventImpl(String methodName, String threadName, long threadID, double startTime, double endTime) -
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.
-
Constructor Details
-
MethodTraceEventImpl
-
-
Method Details
-
getEndTime
public long getEndTime()Description copied from interface:MethodTraceEventGets the end time of this profile event.- Specified by:
getEndTimein interfaceMethodTraceEvent- Returns:
- the time, in milliseconds since epoch, that this event ended.
-
getName
Description copied from interface:MethodTraceEventGets the name of this method.- Specified by:
getNamein interfaceMethodTraceEvent- Returns:
- a String representing the name.
-
getStartTime
public long getStartTime()Description copied from interface:MethodTraceEventGets the start time of this profile event.- Specified by:
getStartTimein interfaceMethodTraceEvent- Returns:
- the time, in milliseconds since epoch, that this event started.
-
getThreadID
public long getThreadID()Description copied from interface:MethodTraceEventGets the thread id that this profile event took place on.- Specified by:
getThreadIDin interfaceMethodTraceEvent- Returns:
- the thread ID.
-
getThreadName
Description copied from interface:MethodTraceEventGets the name of the thread that this profile event took place on.- Specified by:
getThreadNamein interfaceMethodTraceEvent- Returns:
- the thread name.
-