|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.galerts.processor.GalertProcessor
public class GalertProcessor
This class acts as the central manager for all in-memory alerting. It performs the following functions: - Manages lists of active alert definitions - Reloads defs as configurations change - Listens to events from the zevents subsystem - Listens to group membership events from the grouping subsystem In the future, it will also: - Come online when a 'master' alerting node is specified in High Availability Since the galerting subsystem is broken up into 2 pieces, the persisted objects and the runtime objects, the 2 are split into separate packages.
Method Summary | |
---|---|
void |
alertDefDeleted(java.lang.Integer defId)
Call this if an alert-def is deleted. |
void |
alertDefUpdated(GalertDef def,
java.lang.String newName)
Called when primitive information has been updated which doens't require a reload of the entire definition. |
static GalertProcessor |
getInstance()
|
void |
loadReloadOrUnload(GalertDef def)
Call this if an alert-def is created or updated. |
void |
startupInitialize(java.util.Collection galertDefs)
Called to initialize the state of the processor. |
boolean |
validateAlertDef(GalertDef def)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void alertDefUpdated(GalertDef def, java.lang.String newName)
public void loadReloadOrUnload(GalertDef def)
public void alertDefDeleted(java.lang.Integer defId)
public void startupInitialize(java.util.Collection galertDefs)
public boolean validateAlertDef(GalertDef def)
public static GalertProcessor getInstance()
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |