Java Programing laungage

java.lang Projects

java.lang Project

java.lang Examples

java.lang Examples

Package java.lang.management

This package provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running.

Previous Home Next

Java.lang.management Package

InterfaceDescription
ClassLoadingMXBeanThe management interface for the class loading system of the Java virtual machine (JVM). This interface is an MXBean that can be obtained by calling the ManagementFactory.getClassLoadingMXBean method or from the platform MBeanServer method.
CompilationMXBeanThe management interface for the compilation system of the Java virtual machine (JVM). This interface is an MXBean that can be obtained by calling the ManagementFactory.getCompilationMXBean method or from the platform MBeanServer method.
GarbageCollectorMXBeanThe management interface for the garbage collection of the Java virtual machine. Garbage collection is the process that the Java virtual machine (JVM) uses to find and reclaim unreachable objects to free up memory space. A garbage collector is one type of garbage memory manager.
MemoryMXBeanThe management interface for the memory system of the Java virtual machine (JVM). This interface is an MXBean that can be obtained by calling the ManagementFactory.getMemoryMXBean method or from the platform MBeanServer method.
MemoryManagerMXBean The management interface for a memory manager which manages one or more memory pools of the Java virtual machine. This interface is an MXBean that can be obtained by calling the ManagementFactory.getMemoryManagerMXBeans method or from the platform MBeanServer method.
OperatingSystemMXBeanThe management interface for the operating system on which the Java virtual machine is running. This interface is an MXBean that can be obtained by calling the ManagementFactory.getOperatingSystemMXBean method or from the platform MBeanServer method.
RuntimeMXBeanThe management interface for the runtime system of the Java virtual machine. This interface is an MXBean that can be obtained by calling the ManagementFactory.getRuntimeMXBean method or from the platform MBeanServer method.
ThreadMXBeanThe management interface for the thread system of the Java virtual machine. This interface is an MXBean that can be obtained by calling the ManagementFactory.getThreadMXBean method or from the platform MBeanServer method.
Enum Description
MemoryTypeSimilar to memory pools meaning a memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers.
ClassDescription
ManagementFactoryThe ManagementFactory class is a factory class for getting managed beans for the Java platform. This class consists of static methods each of which returns one or more platform MXBean(s) representing the management interface of a component of the Java virtual machine.
ManagementPermissionThe permission which the SecurityManager will check when code that is running with a SecurityManager calls methods defined in the management interface for the Java platform.
MemoryNotificationInfoA memory notification is emitted by MemoryMXBean when the Java virtual machine detects that the memory usage of a memory pool is exceeding a threshold value.
MemoryUsageA MemoryUsage object represents a snapshot of memory usage. It is usually constructed by methods that are used to obtain memory usage information about individual memory pool of the Java virtual machine or the heap or non-heap memory of the Java virtual machine as a whole.
ThreadInfoThread information. ThreadInfo contains the information about a thread including:
  • General thread information - Thread ID and Name of the thread.
  • Execution information - Thread state.
Previous Home Next