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() |
String |
getTimeZone() |
String |
getUptime() |
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 void forceGarbageCollection()
forceGarbageCollection
in interface JVMSelfMonitoringMXBean
public String toString()
toString
in interface MARSPlugin
toString
in class Object
Copyright © 2014 Devexperts. All Rights Reserved.