Class GCEventObject
java.lang.Object
com.ibm.java.diagnostics.healthcenter.api.gc.impl.GCEventObject
- Direct Known Subclasses:
BalancedEventObject,GenconEventObject
-
Constructor Summary
ConstructorsConstructorDescriptionGCEventObject(long heapSize, long freeHeap, double pauseTime, long eventTime) -
Method Summary
Modifier and TypeMethodDescriptiondoublelonglonglonglonglonglonglongdoubledoubledoublegetType()longvoidsetCompactTime(double compactTime) voidsetFinalReferencesCleared(long finalReferencesCleared) voidsetFreeHeapBeforeGC(long freeHeapBeforeGC) voidvoidsetLoaFreeSize(long loaFreeSize) voidsetLoaSize(long loaSize) voidsetMarkTime(double markTime) voidvoidsetSweepTime(double sweepTime) void
-
Constructor Details
-
GCEventObject
public GCEventObject(long heapSize, long freeHeap, double pauseTime, long eventTime)
-
-
Method Details
-
setLoaSize
public void setLoaSize(long loaSize) -
setLoaFreeSize
public void setLoaFreeSize(long loaFreeSize) -
setFinalReferencesCleared
public void setFinalReferencesCleared(long finalReferencesCleared) -
getHeapSize
public long getHeapSize()- Specified by:
getHeapSizein interfaceGCEvent- Returns:
- the size of the heap in mb
-
getFreeHeapAfterGC
public long getFreeHeapAfterGC()- Specified by:
getFreeHeapAfterGCin interfaceGCEvent- Returns:
- the size of the free heap after a garbage collection has taken place
-
getPauseTime
public double getPauseTime()- Specified by:
getPauseTimein interfaceGCEvent- Returns:
- the duration of the garbage collection in milliseconds
-
getEventTime
public long getEventTime()- Specified by:
getEventTimein interfaceBaseEvent- Returns:
- the time the event took place in milliseconds since epoch
-
getReason
-
getType
-
getLoaSize
public long getLoaSize()- Specified by:
getLoaSizein interfaceGCEvent- Returns:
- The size of the large object allocation area
-
getLoaFreeSize
public long getLoaFreeSize()- Specified by:
getLoaFreeSizein interfaceGCEvent- Returns:
- The free space in the large object allocation area
-
getFinalReferencesCleared
public long getFinalReferencesCleared()- Specified by:
getFinalReferencesClearedin interfaceGCEvent- Returns:
- The number of final references cleared
-
getMarkTime
public double getMarkTime()- Specified by:
getMarkTimein interfaceGCEvent- Returns:
- The duration of the mark phase
-
setMarkTime
public void setMarkTime(double markTime) -
getSweepTime
public double getSweepTime()- Specified by:
getSweepTimein interfaceGCEvent- Returns:
- The duration of the sweep phase
-
setSweepTime
public void setSweepTime(double sweepTime) -
getCompactTime
public double getCompactTime()- Specified by:
getCompactTimein interfaceGCEvent- Returns:
- The duration of the compaction phase
-
setCompactTime
public void setCompactTime(double compactTime) -
getUsedHeapAfterGC
public long getUsedHeapAfterGC()- Specified by:
getUsedHeapAfterGCin interfaceGCEvent- Returns:
- the size of the used heap after a garbage collection has taken place
-
getFreeHeapBeforeGC
public long getFreeHeapBeforeGC() -
setFreeHeapBeforeGC
public void setFreeHeapBeforeGC(long freeHeapBeforeGC) -
setReason
-
setType
-
setGCMode
-
getGCMode
-