
public class RaisedAlertBookkeeper extends RaisedAlertSummary
RaisedAlertSummary.raisedAlerts| Constructor and Description |
|---|
RaisedAlertBookkeeper() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAlert(String alertId)
Clear an Alert for the provided alert id.
|
RaisedAlertHistory |
raiseAlert(Alert alert,
AlertState severity,
long timestamp,
String cause)
Raise an Alert with a given severity at a given CCS timestamp.
|
RaisedAlertHistory |
raiseAlert(Alert alert,
AlertState severity,
long timestamp,
String cause,
int count)
Raise an Alert with a given severity at a given CCS timestamp.
|
getAlertState, getAllRaisedAlertHistories, getRaisedAlert, toStringpublic RaisedAlertHistory raiseAlert(Alert alert, AlertState severity, long timestamp, String cause)
alert - The Alert that was raised.severity - The AlertState of the Alert.timestamp - The timestamp at which the Alert was raised.cause - What caused the Alert to be raised.public RaisedAlertHistory raiseAlert(Alert alert, AlertState severity, long timestamp, String cause, int count)
alert - The Alert that was raised.severity - The AlertState of the Alert.timestamp - The timestamp at which the Alert was raised.cause - What caused the Alert to be raised.count - the number of actual raised alerts.public void clearAlert(String alertId)
alertId - The id of the Alert to clear.Copyright © 2018 LSST. All rights reserved.