APIdia Launch Partner
Top Description Fields Constructors Methods
sun.management

pack-priv Class MemoryManagerImpl

extends NotificationEmitterSupport
implements MemoryManagerMXBean
Class Inheritance
All Implemented Interfaces
java.lang.management.MemoryManagerMXBean, java.lang.management.PlatformManagedObject
Known Direct Subclasses
sun.management.GarbageCollectorImpl
Imports
java.lang.management.ManagementFactory, .MemoryManagerMXBean, .MemoryPoolMXBean, javax.management.MBeanNotificationInfo, .ObjectName

Implementation class for a memory manager. Standard and committed hotspot-specific metrics if any. ManagementFactory.getMemoryManagerMXBeans() returns a list of instances of this class.

Field Summary

Modifier and TypeField and Description
private final boolean
private final String
private MBeanNotificationInfo[]
private MemoryPoolMXBean[]

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public String[]
getMemoryPoolNames()

Implements java.lang.management.MemoryManagerMXBean.getMemoryPoolNames.

Returns the name of memory pools that this memory manager manages.

pack-priv synchronized MemoryPoolMXBean[]
private native MemoryPoolMXBean[]
public String
getName()

Implements java.lang.management.MemoryManagerMXBean.getName.

Returns the name representing this memory manager.

public MBeanNotificationInfo[]
getNotificationInfo()

Implements abstract sun.management.NotificationEmitterSupport.getNotificationInfo.

Implements javax.management.NotificationBroadcaster.getNotificationInfo.

Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type.

public ObjectName
getObjectName()

Implements java.lang.management.PlatformManagedObject.getObjectName.

Returns an ObjectName instance representing the object name of this platform managed object.

public boolean
isValid()

Implements java.lang.management.MemoryManagerMXBean.isValid.

Tests if this memory manager is valid in the Java virtual machine.

Inherited from sun.management.NotificationEmitterSupport:
addNotificationListenerhasListenersremoveNotificationListenerremoveNotificationListenersendNotification

Field Detail

isValidback to summary
private final boolean isValid
nameback to summary
private final String name
notifInfoback to summary
private MBeanNotificationInfo[] notifInfo
poolsback to summary
private MemoryPoolMXBean[] pools

Constructor Detail

MemoryManagerImplback to summary
pack-priv MemoryManagerImpl(String name)

Method Detail

getMemoryPoolNamesback to summary
public String[] getMemoryPoolNames()

Implements java.lang.management.MemoryManagerMXBean.getMemoryPoolNames.

Doc from java.lang.management.MemoryManagerMXBean.getMemoryPoolNames.

Returns the name of memory pools that this memory manager manages.

getMemoryPoolsback to summary
pack-priv synchronized MemoryPoolMXBean[] getMemoryPools()
getMemoryPools0back to summary
private native MemoryPoolMXBean[] getMemoryPools0()
getNameback to summary
public String getName()

Implements java.lang.management.MemoryManagerMXBean.getName.

Doc from java.lang.management.MemoryManagerMXBean.getName.

Returns the name representing this memory manager.

getNotificationInfoback to summary
public MBeanNotificationInfo[] getNotificationInfo()

Implements abstract sun.management.NotificationEmitterSupport.getNotificationInfo.

Implements javax.management.NotificationBroadcaster.getNotificationInfo.

Doc from javax.management.NotificationBroadcaster.getNotificationInfo.

Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type.

It is not illegal for the MBean to send notifications not described in this array. However, some clients of the MBean server may depend on the array being complete for their correct functioning.

getObjectNameback to summary
public ObjectName getObjectName()

Implements java.lang.management.PlatformManagedObject.getObjectName.

Doc from java.lang.management.PlatformManagedObject.getObjectName.

Returns an ObjectName instance representing the object name of this platform managed object.

isValidback to summary
public boolean isValid()

Implements java.lang.management.MemoryManagerMXBean.isValid.

Doc from java.lang.management.MemoryManagerMXBean.isValid.

Tests if this memory manager is valid in the Java virtual machine. A memory manager becomes invalid once the Java virtual machine removes it from the memory system.