Class ExtendedGarbageCollectorMXBeanImpl

java.lang.Object
com.ibm.java.lang.management.internal.MemoryManagerMXBeanImpl
com.ibm.java.lang.management.internal.GarbageCollectorMXBeanImpl
com.ibm.lang.management.internal.ExtendedGarbageCollectorMXBeanImpl
All Implemented Interfaces:
GarbageCollectorMXBean, GarbageCollectorMXBean, GarbageCollectorMXBean, MemoryManagerMXBean, PlatformManagedObject, NotificationBroadcaster, NotificationEmitter

public final class ExtendedGarbageCollectorMXBeanImpl extends com.ibm.java.lang.management.internal.GarbageCollectorMXBeanImpl implements GarbageCollectorMXBean
Runtime type for GarbageCollectorMXBean.
  • Method Details

    • getLastGcInfo

      public GcInfo getLastGcInfo()
      Returns the GC information about the most recent GC. This method returns a GcInfo. If no GC information is available, null is returned. The collector-specific attributes, if any, can be obtained via the CompositeData interface.

      MBeanServer access: The mapped type of GcInfo is CompositeData with attributes specified in GcInfo.

      Specified by:
      getLastGcInfo in interface GarbageCollectorMXBean
      Returns:
      a GcInfo object representing the most GC information; or null if no GC information available.