public interface JVMSelfMonitoringMXBean
JVMSelfMonitoring
class.Modifier and Type | Method and Description |
---|---|
void |
forceGarbageCollection() |
String |
getCpuUsage() |
String |
getHeapSize() |
String |
getHeapUsage() |
String |
getNonHeapSize() |
String |
getNonHeapUsage() |
String |
getThreadCount() |
int |
getThreadDeadlockedCount() |
int |
getThreadDumpsCount() |
String |
getThreadDumpsFile() |
String |
getThreadDumpsPeriod() |
String |
getThreadDumpsScheduledAt() |
String |
getTimeZone() |
String |
getUptime() |
void |
makeThreadDumps(int count,
String file,
String period,
String scheduledAt) |
@ManagementDescription(value="JVM up time as a human-readable string") String getUptime()
@ManagementDescription(value="Current CPU usage in percents as a human-readable string") String getCpuUsage()
@ManagementDescription(value="Current heap memory size as a human-readable string") String getHeapSize()
@ManagementDescription(value="Current heap memory usage as a human-readable string") String getHeapUsage()
@ManagementDescription(value="Current non-heap memory size as a human-readable string") String getNonHeapSize()
@ManagementDescription(value="Current non-heap memory usage as a human-readable string") String getNonHeapUsage()
@ManagementDescription(value="Current number of threads and peak as a human-readable string") String getThreadCount()
@ManagementDescription(value="Number of deadlocked threads") int getThreadDeadlockedCount()
@ManagementDescription(value="Default JVM time zone description") String getTimeZone()
@ManagementDescription(value="Number of remaining thread dumps to take") int getThreadDumpsCount()
@ManagementDescription(value="Path and name of the file to write thread dumps to (stdout when empty)") String getThreadDumpsFile()
@ManagementDescription(value="Period between thread dumps") String getThreadDumpsPeriod()
@ManagementDescription(value="Date and time when thread dumps are scheduled to start") String getThreadDumpsScheduledAt()
@ManagementDescription(value="Makes a number of period thread dumps to a specified file with s specified period", parameters={,,,}) void makeThreadDumps(int count, String file, String period, String scheduledAt)
@ManagementDescription(value="Forces GC via System.gc() call") void forceGarbageCollection()
Copyright © 2014 Devexperts. All Rights Reserved.