- java.lang.Object
-
- com.microsoft.gctoolkit.event.jvm.JVMEvent
-
- com.microsoft.gctoolkit.event.GCEvent
-
- com.microsoft.gctoolkit.event.g1gc.G1GCEvent
-
- com.microsoft.gctoolkit.event.g1gc.G1GCPauseEvent
-
- com.microsoft.gctoolkit.event.g1gc.G1Trap
-
public class G1Trap extends G1GCPauseEvent
G1 Event to capture parser errors
-
-
Constructor Summary
Constructors Constructor Description G1Trap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCPUSummary()voidaddCPUSummary(CPUSummary summary)voidaddMemorySummary(MemoryPoolSummary eden, SurvivorMemoryPoolSummary survivor, MemoryPoolSummary heap)voidexecute(Aggregator<?> aggregator)CPUSummarygetCpuSummary()DateTimeStampgetDateTimeStamp()Get the date/time stamp of when the event occurred.doublegetDuration()Get the duration of the event.MemoryPoolSummarygetEden()GarbageCollectionTypesgetGarbageCollectionType()GCCausegetGCCause()MemoryPoolSummarygetHeap()SurvivorMemoryPoolSummarygetSurvivor()voidsetGCCause(GCCause cause)StringtoString()-
Methods inherited from class com.microsoft.gctoolkit.event.g1gc.G1GCPauseEvent
add, addHeapRegionSize, addMemorySummary, addPermOrMetaSpaceRecord, addRegionSummary, getArchiveRegionSummary, getEdenRegionSummary, getHumongousRegionSummary, getOldRegionSummary, getPermOrMetaspace, getReferenceGCSummary, getSurvivorRegionSummary, getTenured
-
-
-
-
Method Detail
-
getDateTimeStamp
public DateTimeStamp getDateTimeStamp()
Description copied from class:JVMEventGet the date/time stamp of when the event occurred.- Overrides:
getDateTimeStampin classJVMEvent- Returns:
- The date/time stamp of when the event occurred.
-
getDuration
public double getDuration()
Description copied from class:JVMEventGet the duration of the event.- Overrides:
getDurationin classJVMEvent- Returns:
- The duration of the event in decimal seconds.
-
setGCCause
public void setGCCause(GCCause cause)
- Overrides:
setGCCausein classGCEvent- Parameters:
cause- of the event
-
getGCCause
public GCCause getGCCause()
- Overrides:
getGCCausein classGCEvent- Returns:
- the cause of the event.
-
getGarbageCollectionType
public GarbageCollectionTypes getGarbageCollectionType()
- Overrides:
getGarbageCollectionTypein classGCEvent- Returns:
- the type of collection this event represents
-
addMemorySummary
public void addMemorySummary(MemoryPoolSummary eden, SurvivorMemoryPoolSummary survivor, MemoryPoolSummary heap)
- Overrides:
addMemorySummaryin classG1GCPauseEvent
-
addCPUSummary
public void addCPUSummary(CPUSummary summary)
- Overrides:
addCPUSummaryin classG1GCPauseEvent
-
getEden
public MemoryPoolSummary getEden()
- Overrides:
getEdenin classG1GCPauseEvent
-
getSurvivor
public SurvivorMemoryPoolSummary getSurvivor()
- Overrides:
getSurvivorin classG1GCPauseEvent
-
getHeap
public MemoryPoolSummary getHeap()
- Overrides:
getHeapin classG1GCPauseEvent
-
getCpuSummary
public CPUSummary getCpuSummary()
- Overrides:
getCpuSummaryin classG1GCPauseEvent
-
addCPUSummary
public void addCPUSummary()
-
execute
public void execute(Aggregator<?> aggregator)
-
-