- All Superinterfaces:
MemoryManagerMXBean,PlatformManagedObject
- All Known Subinterfaces:
GarbageCollectorMXBean
Platform-specific management interface for a memory manager of
the Java virtual machine
This platform extension is only available to a memory manager implementation that supports this extension.
- Since:
- 18
-
Method Summary
Methods declared in interface java.lang.management.MemoryManagerMXBean
getMemoryPoolNames, getNameMethods declared in interface java.lang.management.PlatformManagedObject
getObjectName
-
Method Details
-
isValid
default boolean isValid()Indicate whether or not the manager is currently valid. A memory manager may be removed by a Java virtual machine and become invalid.- Specified by:
isValidin interfaceMemoryManagerMXBean- Returns:
trueif the manager is valid;falseotherwise.
-
getVersion
Returns, as aString, the version of the MemoryManagerMXBean API. The format is majorVersion.minorVersion.microVersion.Memory manager specific attributes, if any, can be obtained via the
CompositeDatainterface.MBeanServer access:
The mapped type ofMemoryTypeisString.- Returns:
- a
Stringobject representing the memory manager version; ornullif no version information is available.
-