public class CassAlertsServiceImpl extends Object implements AlertsService
AlertsService.| Constructor and Description |
|---|
CassAlertsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
ackAlerts(String tenantId,
Collection<String> alertIds,
String ackBy,
String ackNotes) |
void |
addAlerts(Collection<Alert> alerts) |
int |
deleteAlerts(String tenantId,
AlertsCriteria criteria) |
Alert |
getAlert(String tenantId,
String alertId,
boolean thin) |
Page<Alert> |
getAlerts(String tenantId,
AlertsCriteria criteria,
Pager pager) |
void |
initServices() |
void |
resolveAlerts(String tenantId,
Collection<String> alertIds,
String resolvedBy,
String resolvedNotes,
List<Set<ConditionEval>> resolvedEvalSets) |
void |
resolveAlertsForTrigger(String tenantId,
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 Alert getAlert(String tenantId, String alertId, boolean thin) throws Exception
getAlert in interface AlertsServiceExceptionpublic Page<Alert> getAlerts(String tenantId, AlertsCriteria criteria, Pager pager) throws Exception
getAlerts in interface AlertsServiceExceptionpublic void ackAlerts(String tenantId, Collection<String> alertIds, String ackBy, String ackNotes) throws Exception
ackAlerts in interface AlertsServiceExceptionpublic int deleteAlerts(String tenantId, AlertsCriteria criteria) throws Exception
deleteAlerts in interface AlertsServiceExceptionpublic void resolveAlerts(String tenantId, Collection<String> alertIds, String resolvedBy, String resolvedNotes, List<Set<ConditionEval>> resolvedEvalSets) throws Exception
resolveAlerts in interface AlertsServiceExceptionpublic void resolveAlertsForTrigger(String tenantId, String triggerId, String resolvedBy, String resolvedNotes, List<Set<ConditionEval>> resolvedEvalSets) throws Exception
resolveAlertsForTrigger in interface AlertsServiceExceptionpublic void sendData(Data data) throws Exception
sendData in interface AlertsServiceExceptionpublic void sendData(Collection<Data> data) throws Exception
sendData in interface AlertsServiceExceptionCopyright © 2015 Red Hat, Inc.. All rights reserved.