- GARBAGE_COLLECTION_NOTIFICATION - Static variable in class com.sun.management.GarbageCollectionNotificationInfo
-
Notification type denoting that
the Java virtual machine has completed a garbage collection cycle.
- GarbageCollectionNotificationInfo - Class in com.sun.management
-
The information about a garbage collection
- GarbageCollectionNotificationInfo(String, String, String, GcInfo) - Constructor for class com.sun.management.GarbageCollectionNotificationInfo
-
Constructs a GarbageCollectionNotificationInfo
object.
- GarbageCollectorMXBean - Interface in com.sun.management
-
Platform-specific management interface for a garbage collector
which performs collections in cycles.
- GcInfo - Class in com.sun.management
-
Garbage collection information.
- get(String) - Method in class com.sun.management.GcInfo
-
- getAll(String[]) - Method in class com.sun.management.GcInfo
-
- getCommittedVirtualMemorySize() - Method in interface com.sun.management.OperatingSystemMXBean
-
Returns the amount of virtual memory that is guaranteed to
be available to the running process in bytes,
or -1 if this operation is not supported.
- getCompositeType() - Method in class com.sun.management.GcInfo
-
- getDiagnosticOptions() - Method in interface com.sun.management.HotSpotDiagnosticMXBean
-
Returns a list of VMOption objects for all diagnostic options.
- getDuration() - Method in class com.sun.management.GcInfo
-
Returns the elapsed time of this GC in milliseconds.
- getEndTime() - Method in class com.sun.management.GcInfo
-
Returns the end time of this GC in milliseconds
since the Java virtual machine was started.
- getFreePhysicalMemorySize() - Method in interface com.sun.management.OperatingSystemMXBean
-
Returns the amount of free physical memory in bytes.
- getFreeSwapSpaceSize() - Method in interface com.sun.management.OperatingSystemMXBean
-
Returns the amount of free swap space in bytes.
- getGcAction() - Method in class com.sun.management.GarbageCollectionNotificationInfo
-
Returns the action of the performed by the garbage collector
- getGcCause() - Method in class com.sun.management.GarbageCollectionNotificationInfo
-
Returns the cause the garbage collection
- getGcInfo() - Method in class com.sun.management.GarbageCollectionNotificationInfo
-
Returns the GC information related to the last garbage collection
- getGcName() - Method in class com.sun.management.GarbageCollectionNotificationInfo
-
Returns the name of the garbage collector used to perform the collection
- getId() - Method in class com.sun.management.GcInfo
-
Returns the identifier of this garbage collection which is
the number of collections that this collector has done.
- getLastGcInfo() - Method in interface com.sun.management.GarbageCollectorMXBean
-
Returns the GC information about the most recent GC.
- getMaxFileDescriptorCount() - Method in interface com.sun.management.UnixOperatingSystemMXBean
-
Returns the maximum number of file descriptors.
- getMemoryUsageAfterGc() - Method in class com.sun.management.GcInfo
-
Returns the memory usage of all memory pools
at the end of this GC.
- getMemoryUsageBeforeGc() - Method in class com.sun.management.GcInfo
-
Returns the memory usage of all memory pools
at the beginning of this GC.
- getName() - Method in class com.sun.management.VMOption
-
Returns the name of this VM option.
- getOpenFileDescriptorCount() - Method in interface com.sun.management.UnixOperatingSystemMXBean
-
Returns the number of open file descriptors.
- getOrigin() - Method in class com.sun.management.VMOption
-
Returns the origin of the value of this VM option.
- getProcessCpuLoad() - Method in interface com.sun.management.OperatingSystemMXBean
-
Returns the "recent cpu usage" for the Java Virtual Machine process.
- getProcessCpuTime() - Method in interface com.sun.management.OperatingSystemMXBean
-
Returns the CPU time used by the process on which the Java
virtual machine is running in nanoseconds.
- getStartTime() - Method in class com.sun.management.GcInfo
-
Returns the start time of this GC in milliseconds
since the Java virtual machine was started.
- getSystemCpuLoad() - Method in interface com.sun.management.OperatingSystemMXBean
-
Returns the "recent cpu usage" for the whole system.
- getThreadAllocatedBytes(long) - Method in interface com.sun.management.ThreadMXBean
-
Returns an approximation of the total amount of memory, in bytes,
allocated in heap memory for the thread of the specified ID.
- getThreadAllocatedBytes(long[]) - Method in interface com.sun.management.ThreadMXBean
-
Returns an approximation of the total amount of memory, in bytes,
allocated in heap memory for each thread whose ID is in the input
array ids
.
- getThreadCpuTime(long[]) - Method in interface com.sun.management.ThreadMXBean
-
Returns the total CPU time for each thread whose ID is
in the input array ids
in nanoseconds.
- getThreadUserTime(long[]) - Method in interface com.sun.management.ThreadMXBean
-
Returns the CPU time that each thread whose ID is in the input array
ids
has executed in user mode in nanoseconds.
- getTotalPhysicalMemorySize() - Method in interface com.sun.management.OperatingSystemMXBean
-
Returns the total amount of physical memory in bytes.
- getTotalSwapSpaceSize() - Method in interface com.sun.management.OperatingSystemMXBean
-
Returns the total amount of swap space in bytes.
- getValue() - Method in class com.sun.management.VMOption
-
Returns the value of this VM option at the time when
this VMOption was created.
- getVMOption(String) - Method in interface com.sun.management.HotSpotDiagnosticMXBean
-
Returns a VMOption object for a VM option of the given
name.