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, setAllocatedHeapSizeTarget
Methods declared in class com.ibm.java.lang.management.internal.MemoryManagerMXBeanImpl
addMemoryPool, getMemoryPoolNames, getName, getObjectName, isValid
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface com.ibm.lang.management.GarbageCollectorMXBean
getLastCollectionEndTime, getLastCollectionStartTime, getMemoryUsed, getTotalCompacts, getTotalMemoryFreed
Methods declared in interface java.lang.management.GarbageCollectorMXBean
getCollectionCount, getCollectionTime
Methods declared in interface java.lang.management.MemoryManagerMXBean
getMemoryPoolNames, getName, isValid
Methods 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,null
is returned. The collector-specific attributes, if any, can be obtained via theCompositeData
interface.MBeanServer access: The mapped type of
GcInfo
isCompositeData
with attributes specified inGcInfo
.- Specified by:
getLastGcInfo
in interfaceGarbageCollectorMXBean
- Returns:
- a
GcInfo
object representing the most GC information; ornull
if no GC information available.
-