public final class HeapImplMemoryMXBean extends Object implements MemoryMXBean, NotificationEmitter
| Constructor and Description |
|---|
HeapImplMemoryMXBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) |
void |
gc() |
MemoryUsage |
getHeapMemoryUsage() |
MemoryUsage |
getNonHeapMemoryUsage() |
MBeanNotificationInfo[] |
getNotificationInfo() |
ObjectName |
getObjectName() |
int |
getObjectPendingFinalizationCount() |
boolean |
isVerbose() |
void |
removeNotificationListener(NotificationListener listener) |
void |
removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) |
void |
setVerbose(boolean value) |
public ObjectName getObjectName()
getObjectName in interface PlatformManagedObjectpublic int getObjectPendingFinalizationCount()
getObjectPendingFinalizationCount in interface MemoryMXBeanpublic MemoryUsage getHeapMemoryUsage()
getHeapMemoryUsage in interface MemoryMXBeanpublic MemoryUsage getNonHeapMemoryUsage()
getNonHeapMemoryUsage in interface MemoryMXBeanpublic boolean isVerbose()
isVerbose in interface MemoryMXBeanpublic void setVerbose(boolean value)
setVerbose in interface MemoryMXBeanpublic void gc()
gc in interface MemoryMXBeanpublic 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 NotificationBroadcaster