public interface AlarmHistoryRestService
AlarmHistoryRepository
.Modifier and Type | Method and Description |
---|---|
Collection<AlarmState> |
getActiveAlarmsAt(Long timestampInMillis)
Retrieve the last known state of all alarms which were active at the given time.
|
AlarmState |
getAlarm(String alarmId,
String matchType,
Long timestampInMillis)
Retrieve the last known state of an alarm at the given time.
|
Collection<AlarmState> |
getStatesForAlarm(String alarmId,
String matchType)
Retrieve the complete set of state changes for the given alarm.
|
Collection<AlarmState> getStatesForAlarm(String alarmId, String matchType)
alarmId
- alarm id to querymatchType
- when set the 'reduction-key', lookup by reduction key instead of alarm idAlarmState getAlarm(String alarmId, String matchType, Long timestampInMillis)
alarmId
- alarm id to querymatchType
- when set the 'reduction-key', lookup by reduction key instead of alarm idtimestampInMillis
- timestamp in milliseconds - defaults to "now" when nullCollection<AlarmState> getActiveAlarmsAt(Long timestampInMillis)
timestampInMillis
- timestamp in millisecondsCopyright © 2020. All rights reserved.