Name
Package java.lang.management
Synopsis
This package defines
“management bean” or
"
MXBean” interfaces for
managing and monitoring a running Java virtual machine. It relies on
the JMX API of the javax.management
package, which
is not covered in this book. ManagementFactory
is
the main entry point to this API; it defines static factory methods
for obtaining instances of the various management bean interfaces.
These instances can then be queried for specific information about
the Java VM. The jconsole tool shipped with the
Java 5.0 JDK demonstrates the capabilites of this package.
Interfaces
public interface ClassLoadingMXBean; public interface CompilationMXBean; public interface GarbageCollectorMXBean extends MemoryManagerMXBean; public interface MemoryManagerMXBean; public interface MemoryMXBean; public interface MemoryPoolMXBean; public interface OperatingSystemMXBean; public interface RuntimeMXBean; public interface ThreadMXBean;
Enumerated Types
public enum MemoryType;
Classes
public class ManagementFactory; public final class ManagementPermission extends java.security.BasicPermission; public class MemoryNotificationInfo; public class MemoryUsage; public class ThreadInfo;
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.