public class CassAlertsServiceImpl extends Object implements AlertsService
AlertsService.
This implementation processes data asynchronously using a buffer queue.| Constructor and Description |
|---|
CassAlertsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
ackAlerts(Collection<String> alertIds,
String ackBy,
String ackNotes) |
void |
addAlerts(Collection<Alert> alerts) |
void |
clear() |
List<Alert> |
getAlerts(AlertsCriteria criteria) |
void |
initServices() |
void |
reload() |
void |
reloadTrigger(String triggerId) |
void |
resolveAlerts(Collection<String> alertIds,
String resolvedBy,
String resolvedNotes,
List<Set<ConditionEval>> resolvedEvalSets) |
void |
resolveAlertsForTrigger(String triggerId,
String resolvedBy,
String resolvedNotes,
List<Set<ConditionEval>> resolvedEvalSets) |
void |
sendData(Collection<Data> data) |
void |
sendData(Data data) |
@PostConstruct public void initServices()
public void addAlerts(Collection<Alert> alerts) throws Exception
addAlerts in interface AlertsServiceExceptionpublic List<Alert> getAlerts(AlertsCriteria criteria) throws Exception
getAlerts in interface AlertsServiceExceptionpublic void clear()
clear in interface AlertsServicepublic void reload()
reload in interface AlertsServicepublic void reloadTrigger(String triggerId)
reloadTrigger in interface AlertsServicepublic void sendData(Collection<Data> data)
sendData in interface AlertsServicepublic void sendData(Data data)
sendData in interface AlertsServicepublic void ackAlerts(Collection<String> alertIds, String ackBy, String ackNotes) throws Exception
ackAlerts in interface AlertsServiceExceptionpublic void resolveAlerts(Collection<String> alertIds, String resolvedBy, String resolvedNotes, List<Set<ConditionEval>> resolvedEvalSets) throws Exception
resolveAlerts in interface AlertsServiceExceptionpublic void resolveAlertsForTrigger(String triggerId, String resolvedBy, String resolvedNotes, List<Set<ConditionEval>> resolvedEvalSets) throws Exception
resolveAlertsForTrigger in interface AlertsServiceExceptionCopyright © 2015 Red Hat, Inc.. All rights reserved.