Module jdk.management
Package com.ibm.lang.management.internal
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.-
Field Summary
Fields declared in class com.ibm.java.lang.management.internal.MemoryManagerMXBeanImpl
id -
Method Summary
Modifier and TypeMethodDescriptionReturns the GC information about the most recent GC.Methods declared in class com.ibm.java.lang.management.internal.GarbageCollectorMXBeanImpl
addNotificationListener, getAllocatedHeapSizeTarget, getCollectionCount, getCollectionTime, getLastCollectionEndTime, getLastCollectionStartTime, getMemoryUsed, getNotificationInfo, getStrategy, getTotalCompacts, getTotalMemoryFreed, removeNotificationListener, removeNotificationListener, sendNotification, setAllocatedHeapSizeTargetMethods declared in class com.ibm.java.lang.management.internal.MemoryManagerMXBeanImpl
addMemoryPool, getMemoryPoolNames, getName, getObjectName, isValidMethods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface com.ibm.lang.management.GarbageCollectorMXBean
getLastCollectionEndTime, getLastCollectionStartTime, getMemoryUsed, getTotalCompacts, getTotalMemoryFreedMethods declared in interface java.lang.management.GarbageCollectorMXBean
getCollectionCount, getCollectionTimeMethods declared in interface java.lang.management.MemoryManagerMXBean
getMemoryPoolNames, getName, isValidMethods declared in interface java.lang.management.PlatformManagedObject
getObjectName
-
Method Details
-
getLastGcInfo
Returns the GC information about the most recent GC. This method returns aGcInfo. If no GC information is available,nullis returned. The collector-specific attributes, if any, can be obtained via theCompositeDatainterface.MBeanServer access: The mapped type of
GcInfoisCompositeDatawith attributes specified inGcInfo.- Specified by:
getLastGcInfoin interfaceGarbageCollectorMXBean- Returns:
- a
GcInfoobject representing the most GC information; ornullif no GC information available.
-