public class DefaultAlertEventManager extends Object implements InternalAlertTriggeredEventManager
Constructor and Description |
---|
DefaultAlertEventManager(InternalAlertManager alerts) |
Modifier and Type | Method and Description |
---|---|
void |
add(AlertTriggeredEventListener eventListener)
Add the event listener.
|
void |
add(AlertTriggeredEventListener eventListener,
boolean includeExisting)
Add the event listener.
|
void |
alertTriggered(Alert alert) |
void |
remove(AlertTriggeredEventListener eventListener)
Removes the event listener.
|
public DefaultAlertEventManager(InternalAlertManager alerts)
public void add(AlertTriggeredEventListener eventListener)
AlertTriggeredEventManager
add
in interface AlertTriggeredEventManager
public void add(AlertTriggeredEventListener eventListener, boolean includeExisting)
AlertTriggeredEventManager
add
in interface AlertTriggeredEventManager
public void remove(AlertTriggeredEventListener eventListener)
AlertTriggeredEventManager
remove
in interface AlertTriggeredEventManager
public void alertTriggered(Alert alert)
alertTriggered
in interface AlertTriggeredEventListener
alert
- An event of an alert issued by one of the admin Alert triggers.Copyright © GigaSpaces.