public class JVMSelfMonitoring extends Object implements MARSPlugin, Runnable, JVMSelfMonitoringMXBean
Modifier and Type | Class and Description |
---|---|
static class |
JVMSelfMonitoring.PluginFactory |
MARSPlugin.Factory
Constructor and Description |
---|
JVMSelfMonitoring(MARSNode root) |
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) |
void |
run() |
void |
start() |
void |
stop() |
String |
toString() |
public JVMSelfMonitoring(MARSNode root)
public void start()
start
in interface MARSPlugin
public void stop()
stop
in interface MARSPlugin
public String getUptime()
getUptime
in interface JVMSelfMonitoringMXBean
public String getCpuUsage()
getCpuUsage
in interface JVMSelfMonitoringMXBean
public String getHeapSize()
getHeapSize
in interface JVMSelfMonitoringMXBean
public String getHeapUsage()
getHeapUsage
in interface JVMSelfMonitoringMXBean
public String getNonHeapSize()
getNonHeapSize
in interface JVMSelfMonitoringMXBean
public String getNonHeapUsage()
getNonHeapUsage
in interface JVMSelfMonitoringMXBean
public String getThreadCount()
getThreadCount
in interface JVMSelfMonitoringMXBean
public int getThreadDeadlockedCount()
getThreadDeadlockedCount
in interface JVMSelfMonitoringMXBean
public String getTimeZone()
getTimeZone
in interface JVMSelfMonitoringMXBean
public int getThreadDumpsCount()
getThreadDumpsCount
in interface JVMSelfMonitoringMXBean
public String getThreadDumpsFile()
getThreadDumpsFile
in interface JVMSelfMonitoringMXBean
public String getThreadDumpsPeriod()
getThreadDumpsPeriod
in interface JVMSelfMonitoringMXBean
public String getThreadDumpsScheduledAt()
getThreadDumpsScheduledAt
in interface JVMSelfMonitoringMXBean
public void makeThreadDumps(int count, String file, String period, String scheduledAt)
makeThreadDumps
in interface JVMSelfMonitoringMXBean
public void forceGarbageCollection()
forceGarbageCollection
in interface JVMSelfMonitoringMXBean
public String toString()
toString
in interface MARSPlugin
toString
in class Object
Copyright © 2015 Devexperts. All Rights Reserved.