com.ibm.java.diagnostics.healthcenter.api.gc

Interface GCEvent

  • All Superinterfaces:
    BaseEvent
    All Known Subinterfaces:
    BalancedEvent, GenconEvent


    public interface GCEvent
    extends BaseEvent
    This class defines the values returned with a GC event takes place and is used by the GCEventListener interface
    • Method Detail

      • getHeapSize

        long getHeapSize()
        Returns:
        the size of the heap in mb
      • getFreeHeapAfterGC

        long getFreeHeapAfterGC()
        Returns:
        the size of the free heap after a garbage collection has taken place
      • getUsedHeapAfterGC

        long getUsedHeapAfterGC()
        Returns:
        the size of the used heap after a garbage collection has taken place
      • getPauseTime

        double getPauseTime()
        Returns:
        the duration of the garbage collection in milliseconds
      • getReason

        java.lang.String getReason()
        Returns:
        The reason of the garbage collection e.g. allocation failure
      • getType

        java.lang.String getType()
        Returns:
        The type of the garbage collection e.g. system gc
      • getLoaSize

        long getLoaSize()
        Returns:
        The size of the large object allocation area
      • getLoaFreeSize

        long getLoaFreeSize()
        Returns:
        The free space in the large object allocation area
      • getFinalReferencesCleared

        long getFinalReferencesCleared()
        Returns:
        The number of final references cleared
      • getMarkTime

        double getMarkTime()
        Returns:
        The duration of the mark phase
      • getSweepTime

        double getSweepTime()
        Returns:
        The duration of the sweep phase
      • getCompactTime

        double getCompactTime()
        Returns:
        The duration of the compaction phase
      • getGCMode

        java.lang.String getGCMode()
        Returns:
        The gc mode
© Copyright 2012, 2016 IBM Corporation.