Constructor and Description |
---|
SystemMonitor()
noargs constructor
|
SystemMonitor(int sleepTime,
Logger logger,
java.lang.String realm) |
Modifier and Type | Method and Description |
---|---|
void |
dump(java.io.PrintStream p,
java.lang.String indent) |
Logger |
getLogger() |
java.lang.String |
getRealm() |
void |
run() |
void |
setLogger(Logger logger,
java.lang.String realm) |
void |
setSleepTime(int sleepTime) |
void |
showThreadGroup(java.lang.ThreadGroup g,
java.io.PrintStream p,
java.lang.String indent) |
void |
shutdown() |
public SystemMonitor()
public SystemMonitor(int sleepTime, Logger logger, java.lang.String realm)
sleepTime
- sleeplogger
- current loggerrealm
- instance realmpublic void setSleepTime(int sleepTime)
sleepTime
- new sleepTime;public void showThreadGroup(java.lang.ThreadGroup g, java.io.PrintStream p, java.lang.String indent)
public void run()
run
in interface java.lang.Runnable
public void shutdown()
public void dump(java.io.PrintStream p, java.lang.String indent)
public void setLogger(Logger logger, java.lang.String realm)