Modifier and Type | Method and Description |
---|---|
List<AlarmState> |
AlarmHistoryRepository.getActiveAlarmsAt(long time)
Retrieves the last known state of alarms which were active (and not yet deleted) at the given time.
|
List<AlarmState> |
AlarmHistoryRepository.getActiveAlarmsNow()
Retrieves the last known state of alarms which are currently active (and not yet deleted).
|
Optional<AlarmState> |
AlarmHistoryRepository.getAlarmWithDbIdAt(long id,
long time)
Retrieves the last known state of the alarm with the given database id, at or before the given time.
|
Optional<AlarmState> |
AlarmHistoryRepository.getAlarmWithReductionKeyIdAt(String reductionKey,
long time)
Similar to
AlarmHistoryRepository.getAlarmWithDbIdAt(long, long) , except the lookup is performed using the reduction key. |
List<AlarmState> |
AlarmHistoryRepository.getLastStateOfAllAlarms(long start,
long end)
Retrieves the last known state of all alarms which were recorded
in the given time period.
|
List<AlarmState> |
AlarmHistoryRepository.getStatesForAlarmWithDbId(long id)
Retrieves all the known states for the alarm with the given database id.
|
List<AlarmState> |
AlarmHistoryRepository.getStatesForAlarmWithReductionKey(String reductionKey)
Retrieves all the known states for the alarm with the given database reduction key.
|
Modifier and Type | Method and Description |
---|---|
List<AlarmState> |
ElasticAlarmHistoryRepository.getActiveAlarmsAt(long time) |
List<AlarmState> |
ElasticAlarmHistoryRepository.getActiveAlarmsNow() |
Optional<AlarmState> |
ElasticAlarmHistoryRepository.getAlarmWithDbIdAt(long id,
long time) |
Optional<AlarmState> |
ElasticAlarmHistoryRepository.getAlarmWithReductionKeyIdAt(String reductionKey,
long time) |
List<AlarmState> |
ElasticAlarmHistoryRepository.getLastStateOfAllAlarms(long start,
long end) |
List<AlarmState> |
ElasticAlarmHistoryRepository.getStatesForAlarmWithDbId(long id) |
List<AlarmState> |
ElasticAlarmHistoryRepository.getStatesForAlarmWithReductionKey(String reductionKey) |
Modifier and Type | Class and Description |
---|---|
class |
AlarmDocumentDTO |
Modifier and Type | Method and Description |
---|---|
AlarmState |
AlarmHistoryRestService.getAlarm(String alarmId,
String matchType,
Long timestampInMillis)
Retrieve the last known state of an alarm at the given time.
|
Modifier and Type | Method and Description |
---|---|
Collection<AlarmState> |
AlarmHistoryRestService.getActiveAlarmsAt(Long timestampInMillis)
Retrieve the last known state of all alarms which were active at the given time.
|
Collection<AlarmState> |
AlarmHistoryRestService.getStatesForAlarm(String alarmId,
String matchType)
Retrieve the complete set of state changes for the given alarm.
|
Modifier and Type | Method and Description |
---|---|
AlarmState |
AlarmHistoryRestServiceImpl.getAlarm(String alarmId,
String matchType,
Long time) |
Modifier and Type | Method and Description |
---|---|
Collection<AlarmState> |
AlarmHistoryRestServiceImpl.getActiveAlarmsAt(Long time) |
Collection<AlarmState> |
AlarmHistoryRestServiceImpl.getStatesForAlarm(String alarmId,
String matchType) |
Copyright © 2020. All rights reserved.