- java.lang.Object
-
- com.microsoft.gctoolkit.event.jvm.JVMEvent
-
- Direct Known Subclasses:
ApplicationConcurrentTime,ApplicationRunTime,ApplicationStoppedTime,GCEvent,JVMTermination,Safepoint,SurvivorRecord
public abstract class JVMEvent extends Object
This is the base class for all JVM events created by the parser.
-
-
Constructor Summary
Constructors Constructor Description JVMEvent(DateTimeStamp timeStamp, double duration)All events have a date/time stamp of when the event occurred, and a duration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DateTimeStampgetDateTimeStamp()Get the date/time stamp of when the event occurred.doublegetDuration()Get the duration of the event.StringtoString()
-
-
-
Constructor Detail
-
JVMEvent
public JVMEvent(DateTimeStamp timeStamp, double duration)
All events have a date/time stamp of when the event occurred, and a duration.- Parameters:
timeStamp- The date/time stamp of when the event occurred.duration- The duration of the event in decimal seconds.
-
-
Method Detail
-
getDateTimeStamp
public DateTimeStamp getDateTimeStamp()
Get the date/time stamp of when the event occurred.- Returns:
- The date/time stamp of when the event occurred.
-
getDuration
public double getDuration()
Get the duration of the event.- Returns:
- The duration of the event in decimal seconds.
-
-