|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AlertManager
| Field Summary | |
|---|---|
static AlertManager |
instance
|
| Method Summary | |
|---|---|
void |
alert(Alert alert)
Save the alert and notify those subscriber |
java.util.List<Alert> |
getLastNFromCache(int n)
Returns last N (at most 4096) records from cache |
void |
maintain()
|
void |
publish(NodeAlertEvent event)
Publish a node alert event to all notifiers. |
void |
save(java.util.List<Alert> alerts)
Batch save alerts |
void |
start()
|
void |
stop()
|
| Methods inherited from interface com.pmease.quickbuild.entitymanager.EntityManager |
|---|
count, count, delete, get, getAll, getAll, load, save, search, searchIds |
| Field Detail |
|---|
static final AlertManager instance
| Method Detail |
|---|
void save(java.util.List<Alert> alerts)
alerts - void alert(Alert alert)
alert - void publish(NodeAlertEvent event)
event - java.util.List<Alert> getLastNFromCache(int n)
n -
void start()
void stop()
void maintain()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||