|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.co.gidley.jmxmonitor.monitoring.MonitoringGroup
public class MonitoringGroup
A monitoring group combines a set of monitors and expressions to output data to a logger
| Constructor Summary | |
|---|---|
MonitoringGroup()
|
|
| Method Summary | |
|---|---|
String |
getName()
|
void |
initialise(String name,
File monitorsConfigurationFile,
File expressionsConfigurationFile,
long intervalInMilliseconds)
Called to initialise the monitoring group. |
boolean |
isAlive()
The group should respond true unless it knows it has failed |
void |
run()
Start monitoring (as a thread) return when stopped |
void |
setName(String name)
|
void |
stop()
The group should stop at the next opportunity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonitoringGroup()
| Method Detail |
|---|
public String getName()
public void setName(String name)
public void initialise(String name,
File monitorsConfigurationFile,
File expressionsConfigurationFile,
long intervalInMilliseconds)
throws InitialisationException
monitorsConfigurationFile - The monitors fileexpressionsConfigurationFile - The expression fileintervalInMilliseconds - The interval to poll in milliseconds
InitialisationExceptionpublic void stop()
public boolean isAlive()
public void run()
run in interface Runnable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||