Interface AlarmDataStore
-
- All Known Implementing Classes:
KafkaAlarmDataSync
public interface AlarmDataStore
This interface was created to be able to expose the methods onKafkaAlarmDataSync
to theSyncAlarms
shell command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
destroy()
OpennmsModelProtos.Alarm
getAlarm(java.lang.String reductionKey)
java.util.Map<java.lang.String,OpennmsModelProtos.Alarm>
getAlarms()
AlarmSyncResults
handleAlarmSnapshot(java.util.List<OnmsAlarm> alarms)
void
init()
boolean
isEnabled()
boolean
isReady()
void
setStartWithCleanState(boolean startWithCleanState)
-
-
-
Method Detail
-
init
void init() throws java.io.IOException
- Throws:
java.io.IOException
-
destroy
void destroy()
-
isEnabled
boolean isEnabled()
-
isReady
boolean isReady()
-
getAlarms
java.util.Map<java.lang.String,OpennmsModelProtos.Alarm> getAlarms()
-
getAlarm
OpennmsModelProtos.Alarm getAlarm(java.lang.String reductionKey)
-
handleAlarmSnapshot
AlarmSyncResults handleAlarmSnapshot(java.util.List<OnmsAlarm> alarms)
-
setStartWithCleanState
void setStartWithCleanState(boolean startWithCleanState)
-
-