public class SystemMonitor extends QBeanSupport implements java.lang.Runnable, SystemMonitorMBean, Loggeable
Loggercfg, 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, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDump, getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServerdestroy, getState, getStateAsString, init, start, stopgetPersist, isModifiedpublic void startService()
startService in class QBeanSupportpublic void stopService()
stopService in class QBeanSupportpublic void setSleepTime(long sleepTime)
setSleepTime in interface SystemMonitorMBeanpublic long getSleepTime()
getSleepTime in interface SystemMonitorMBeanpublic void setDetailRequired(boolean detail)
setDetailRequired in interface SystemMonitorMBeanpublic boolean getDetailRequired()
getDetailRequired in interface SystemMonitorMBeanpublic void run()
run in interface java.lang.Runnablepublic void dump(java.io.PrintStream p,
java.lang.String indent)
public void setConfiguration(Configuration cfg) throws ConfigurationException
setConfiguration in interface ConfigurablesetConfiguration in class QBeanSupportcfg - Configuration objectConfigurationException