Package org.yamcs.alarms
Class ParameterAlarmStreamer
- All Implemented Interfaces:
AlarmListener<ParameterValue>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.yamcs.alarms.AlarmStreamer
CNAME_ACK_BY, CNAME_ACK_MSG, CNAME_ACK_TIME, CNAME_CLEAR_MSG, CNAME_CLEARED_BY, CNAME_CLEARED_TIME, CNAME_LAST_VALUE, CNAME_PENDING, CNAME_SEQ_NUM, CNAME_SHELVE_DURATION, CNAME_SHELVED_BY, CNAME_SHELVED_MSG, CNAME_SHELVED_TIME, CNAME_TRIGGER_TIME, CNAME_UPDATE_TIME, CNAME_VALUE_COUNT, CNAME_VIOLATION_COUNT, stream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected Stringprotected Stringprotected StringgetTupleKey(AlarmNotificationType notificationType, ActiveAlarm<ParameterValue> activeAlarm) protected longgetUpdateTime(ParameterValue alarmDetail) voidnotifyShutdown(ActiveAlarm<ParameterValue> alarm) generate a tuple with the violation/value counters and the last value to be saved in the database before shutdownMethods inherited from class org.yamcs.alarms.AlarmStreamer
notifySeverityIncrease, notifyUpdate, notifyValueUpdate
-
Field Details
-
CNAME_LAST_EVENT
- See Also:
-
CNAME_UPDATE_PV
- See Also:
-
CNAME_TRIGGER
- See Also:
-
CNAME_CLEAR
- See Also:
-
CNAME_SEVERITY_INCREASED
- See Also:
-
-
Constructor Details
-
ParameterAlarmStreamer
-
-
Method Details
-
getTupleKey
protected ArrayList<Object> getTupleKey(AlarmNotificationType notificationType, ActiveAlarm<ParameterValue> activeAlarm) - Specified by:
getTupleKeyin classAlarmStreamer<ParameterValue>
-
notifyShutdown
generate a tuple with the violation/value counters and the last value to be saved in the database before shutdown -
getColNameLastEvent
- Specified by:
getColNameLastEventin classAlarmStreamer<ParameterValue>
-
getColNameClear
- Specified by:
getColNameClearin classAlarmStreamer<ParameterValue>
-
getColNameTrigger
- Specified by:
getColNameTriggerin classAlarmStreamer<ParameterValue>
-
getColNameSeverityIncreased
- Specified by:
getColNameSeverityIncreasedin classAlarmStreamer<ParameterValue>
-
getUpdateTime
- Specified by:
getUpdateTimein classAlarmStreamer<ParameterValue>
-