|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
uk.org.iscream.cms.server.client.MonitorSkeleton
uk.org.iscream.cms.server.client.monitors.Services__Monitor
public class Services__Monitor
This Monitor watches the Service checks on hosts
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
Thread.State, Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private HashMap |
_hosts
A HashMap of Registers (or groups of Registers), one for each host we're monitoring. |
private String |
_name
This is the friendly identifier of the component this class is running in. |
String |
DESC
A description of this monitor |
String |
REVISION
The current CVS revision of this class |
Fields inherited from class uk.org.iscream.cms.server.client.MonitorSkeleton |
---|
_alerterQueue, _logger, _qID, _running |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
Services__Monitor()
|
Method Summary | |
---|---|
void |
analysePacket(XMLPacket packet)
Analyse a packet of data, and generate an alert if necessary. |
String |
getDescription()
return the String representation of what the monitor does |
protected Queue |
getQueue()
Returns a reference to a specific Queue for this monitor. |
String |
toString()
Overrides the Object.toString()
method to provide clean logging (every class should have this). |
Methods inherited from class uk.org.iscream.cms.server.client.MonitorSkeleton |
---|
checkBooleanConfig, getQueueId, processAlert, run |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final String REVISION
public final String DESC
private String _name
private HashMap _hosts
Constructor Detail |
---|
public Services__Monitor()
Method Detail |
---|
public void analysePacket(XMLPacket packet)
analysePacket
in class MonitorSkeleton
packet
- the XMLPacket to analysepublic String toString()
Object.toString()
method to provide clean logging (every class should have this).
This uses the uk.org.iscream.cms.util.NameFormat class
to format the toString()
toString
in class Thread
public String getDescription()
getDescription
in interface PluginMonitor
getDescription
in class MonitorSkeleton
protected Queue getQueue()
getQueue
in class MonitorSkeleton
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |