public class SystemMonitor extends QBeanSupport implements java.lang.Runnable, SystemMonitorMBean, Loggeable
Logger
cfg, log, scheduledThreadPoolExecutor
Constructor and Description |
---|
SystemMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
dump(java.io.PrintStream p,
java.lang.String indent) |
boolean |
getDetailRequired() |
long |
getSleepTime() |
void |
run() |
void |
setConfiguration(Configuration cfg) |
void |
setDetailRequired(boolean detail) |
void |
setSleepTime(long sleepTime) |
void |
startService() |
void |
stopService() |
addAttr, close, createElement, destroy, destroyService, getAttrs, getAttrs, getConfiguration, getDump, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getScheduledThreadPoolExecutor, getServer, getState, getStateAsString, init, initService, isModified, running, setAttr, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDump, getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServer
destroy, getState, getStateAsString, init, start, stop
getPersist, isModified
public void startService()
startService
in class QBeanSupport
public void stopService()
stopService
in class QBeanSupport
public void setSleepTime(long sleepTime)
setSleepTime
in interface SystemMonitorMBean
public long getSleepTime()
getSleepTime
in interface SystemMonitorMBean
public void setDetailRequired(boolean detail)
setDetailRequired
in interface SystemMonitorMBean
public boolean getDetailRequired()
getDetailRequired
in interface SystemMonitorMBean
public void run()
run
in interface java.lang.Runnable
public void dump(java.io.PrintStream p, java.lang.String indent)
public void setConfiguration(Configuration cfg) throws ConfigurationException
setConfiguration
in interface Configurable
setConfiguration
in class QBeanSupport
cfg
- Configuration objectConfigurationException