public final class IncrementalGarbageCollectorMXBean extends Object implements com.sun.management.GarbageCollectorMXBean, NotificationEmitter
| Constructor and Description |
|---|
IncrementalGarbageCollectorMXBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) |
long |
getCollectionCount() |
long |
getCollectionTime() |
com.sun.management.GcInfo |
getLastGcInfo() |
String[] |
getMemoryPoolNames() |
String |
getName() |
MBeanNotificationInfo[] |
getNotificationInfo() |
ObjectName |
getObjectName() |
boolean |
isValid() |
void |
removeNotificationListener(NotificationListener listener) |
void |
removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) |
public long getCollectionCount()
getCollectionCount in interface GarbageCollectorMXBeanpublic long getCollectionTime()
getCollectionTime in interface GarbageCollectorMXBeanpublic String[] getMemoryPoolNames()
getMemoryPoolNames in interface MemoryManagerMXBeanpublic String getName()
getName in interface MemoryManagerMXBeanpublic boolean isValid()
isValid in interface MemoryManagerMXBeanpublic ObjectName getObjectName()
getObjectName in interface PlatformManagedObjectpublic void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
removeNotificationListener in interface NotificationEmitterpublic void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
addNotificationListener in interface NotificationBroadcasterpublic void removeNotificationListener(NotificationListener listener)
removeNotificationListener in interface NotificationBroadcasterpublic MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface NotificationBroadcasterpublic com.sun.management.GcInfo getLastGcInfo()