| Package | Description |
|---|---|
| org.lsst.ccs |
This package deals with core classes for subsystems.
|
| org.lsst.ccs.bus.alerts | |
| org.lsst.ccs.bus.data |
This package defines all the public data sent on the CCS buses via
messages defined in package org.lsst.ccs.bus.messages.
|
| org.lsst.ccs.bus.messages |
This package defines all the standard messages for the CCS buses.
|
| org.lsst.ccs.framework | |
| org.lsst.ccs.messaging.util | |
| org.lsst.ccs.monitor | |
| org.lsst.ccs.services.alert |
| Modifier and Type | Method and Description |
|---|---|
RaisedAlertHistory |
RaisedAlertBookkeeper.raiseAlert(Alert alert,
AlertState severity,
org.lsst.ccs.utilities.taitime.CCSTimeStamp ccsTimeStamp,
String cause)
Raise an Alert with a given severity at a given CCS timestamp.
|
RaisedAlertHistory |
RaisedAlertBookkeeper.raiseAlert(Alert alert,
AlertState severity,
org.lsst.ccs.utilities.taitime.CCSTimeStamp ccsTimeStamp,
String cause,
int count)
Raise an Alert with a given severity at a given CCS timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
Alert |
InfrastructureAlert.getAlert() |
Alert |
DeviceAlerts.newAlert(String name) |
| Modifier and Type | Method and Description |
|---|---|
Alert |
AgentAlerts.getAlert() |
Alert |
AgentAlerts.getAlert(Map<String,Object> alertData) |
Alert |
RaisedAlertHistory.getHighestAlert()
Get the highest state Alert raised for this Alert,
i.e.
|
Alert |
RaisedAlertHistory.getLatestAlert()
Get the original Alert that was raised.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RaisedAlertHistory.addAlertInstance(AlertState severity,
Alert alert,
org.lsst.ccs.utilities.taitime.CCSTimeStamp ccsTimeStamp,
String cause,
int count)
Add a new instance of this Alert.
|
| Modifier and Type | Method and Description |
|---|---|
protected Alert |
StatusRaisedAlert.encodeObject(Alert obj) |
Alert |
StatusRaisedAlert.getRaisedAlert()
Get the RaisedAlert contained in this message.
|
| Modifier and Type | Method and Description |
|---|---|
protected Alert |
StatusRaisedAlert.encodeObject(Alert obj) |
| Constructor and Description |
|---|
StatusRaisedAlert(Alert alert,
String cause,
RaisedAlertSummary raisedAlertSummary)
Build a StatusAlert from the provided RaisedAlert.
|
| Modifier and Type | Method and Description |
|---|---|
default ClearAlertHandler.ClearAlertCode |
ClearAlertHandler.canClearAlert(Alert alert,
AlertState alertState)
Callback to clear an
Alert instance. |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Alert> |
AbstractDispatcher.alerts
Registered alerts.
|
| Modifier and Type | Method and Description |
|---|---|
Alert |
Dispatcher.AlertEvent.getAlert() |
| Modifier and Type | Method and Description |
|---|---|
List<Alert> |
Dispatcher.getRegisteredAlerts()
Returns the list of alerts registered with this
Dispatcher. |
List<Alert> |
AbstractDispatcher.getRegisteredAlerts()
Returns a set of alerts registered with this
Dispatcher. |
| Modifier and Type | Method and Description |
|---|---|
void |
Dispatcher.raiseAlert(Alert alert,
AlertState severity,
String cause)
Notifies listeners by publishing an
AlertEvent. |
void |
AbstractDispatcher.raiseAlert(Alert alert,
AlertState severity,
String cause)
Notifies listeners by publishing an
AlertEvent. |
void |
Dispatcher.registerAlert(Alert alert)
Registers an alert with this Dispatcher.
|
void |
AbstractDispatcher.registerAlert(Alert alert)
Registers an alert with this Dispatcher.
|
| Constructor and Description |
|---|
AlertEvent(Dispatcher dispatcher,
Alert alert,
AlertState severity,
String cause) |
| Modifier and Type | Method and Description |
|---|---|
Alert |
Alarm.getAlert(AlertState alertState,
AlertState previousAlertState)
Get the Alert to be raised at the given AlertState.
|
| Constructor and Description |
|---|
Alarm(Alert alert) |
AlertRaisingAlarm(Alert alert)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Alert |
AlertEvent.getAlert()
Returns the
Alert that triggered this event. |
| Modifier and Type | Method and Description |
|---|---|
void |
AlertService.raiseAlert(Alert alert,
AlertState severity,
String cause)
Method similar to
#raiseAlert(String,Alert,AlertState,String)
where the source argument is set to be the agent name. |
void |
AlertService.raiseAlert(Alert alert,
AlertState severity,
String cause,
AlertService.RaiseAlertStrategy strategy) |
void |
AlertService.raiseAlert(String source,
Alert alert,
AlertState severity,
String cause)
Raise an Alert with a given AlertState for a given source.
|
void |
AlertService.raiseAlert(String source,
Alert alert,
AlertState severity,
String cause,
AlertService.RaiseAlertStrategy strategy) |
void |
AlertService.registerAlert(Alert alert)
Register an Alert without a ClearAlertHandler.
|
void |
AlertService.registerAlert(Alert alert,
ClearAlertHandler clearAlertHandler)
Register an Alert and the corresponding ClearAlertHandler to be invoked
when clearing the Alert.
|
| Constructor and Description |
|---|
AlertEvent(String source,
Alert alert,
RaisedAlertSummary summary,
AlertEvent.AlertEventType type)
Constructor for events triggered by a raised alert.
|
Copyright © 2022 LSST. All rights reserved.