Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MemoryManagerMXBean extends PlatformManagedObject
The management interface for a memory manager. A memory manager manages one or more memory pools of the Java virtual machine.
A Java virtual machine has one or more memory managers.
An instance implementing this interface is
an MXBean
that can be obtained by calling
the ManagementFactory.getMemoryManagerMXBeans()
method or
from the platform MBeanServer
method.
The ObjectName for uniquely identifying the MXBean for a memory manager within an MBeanServer is:
java.lang:type=MemoryManager
,name=manager's name
It can be obtained by calling the
PlatformManagedObject.getObjectName()
method.
ManagementFactory.getPlatformMXBeans(Class)
,
MemoryMXBean
,
JMX Specification.,
Ways to Access MXBeansModifier and Type | Method and Description |
---|---|
String[] |
getMemoryPoolNames()
Returns the name of memory pools that this memory manager manages. |
String |
getName()
Returns the name representing this memory manager. |
boolean |
isValid()
Tests if this memory manager is valid in the Java virtual machine. |
Methods inherited from interface java.lang.management.PlatformManagedObject |
---|
getObjectName |
Method Detail |
---|
String getName()
boolean isValid()
String[] getMemoryPoolNames()
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.