|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetwork.detectors.EventDetector
network.detectors.AgentAliveEventDetector
The AgentAliveEvent Detector periodically checks to see if detectors in an agent have died by checking that the number of threads in an agent never decreases.
| Field Summary |
| Fields inherited from class network.detectors.EventDetector |
agentURN, cred, dbModule, eventIDGenerator, eventTable, host, localTriggeringEvents, remoteTriggeringEvents, reportTable |
| Constructor Summary | |
AgentAliveEventDetector(ConfigObject configObj)
The default constructor. |
|
| Method Summary | |
Event |
createEvent(java.util.Vector activeThreadList,
long timeOut,
java.util.Vector subList)
|
java.util.Vector |
generateEvent(Event triggeredEvent)
Possibly generates a AgentAliveEvent. |
java.lang.String |
getGeneratingEventClassName()
Returns the event name that will be generated. |
java.util.Vector |
getRunningThreads()
Returns a vector of currently running threads. |
void |
increaseSequenceNumber()
Increases the sequence number of times when the count didn't match. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AgentAliveEventDetector(ConfigObject configObj)
| Method Detail |
public java.lang.String getGeneratingEventClassName()
getGeneratingEventClassName in class EventDetectorpublic java.util.Vector generateEvent(Event triggeredEvent)
generateEvent in class EventDetectortriggeredEvent - the triggering event (will be a TimerEvent).
public Event createEvent(java.util.Vector activeThreadList,
long timeOut,
java.util.Vector subList)
public void increaseSequenceNumber()
public java.util.Vector getRunningThreads()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||