Class AlarmSyncResults
- java.lang.Object
-
- org.opennms.features.kafka.producer.datasync.AlarmSyncResults
-
public class AlarmSyncResults extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AlarmSyncResults(java.util.Map<java.lang.String,OpennmsModelProtos.Alarm> alarmsInKtableByReductionKey, java.util.List<OnmsAlarm> alarmsInDb, java.util.Map<java.lang.String,OnmsAlarm> alarmsInDbByReductionKey, java.util.Set<java.lang.String> reductionKeysAdded, java.util.Set<java.lang.String> reductionKeysDeleted, java.util.Set<java.lang.String> reductionKeysUpdated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<OnmsAlarm>
getAlarmsInDb()
java.util.Map<java.lang.String,OnmsAlarm>
getAlarmsInDbByReductionKey()
java.util.Map<java.lang.String,OpennmsModelProtos.Alarm>
getAlarmsInKtableByReductionKey()
int
getNumUpdates()
java.util.Set<java.lang.String>
getReductionKeysAdded()
java.util.Set<java.lang.String>
getReductionKeysDeleted()
java.util.Set<java.lang.String>
getReductionKeysUpdated()
-
-
-
Constructor Detail
-
AlarmSyncResults
public AlarmSyncResults(java.util.Map<java.lang.String,OpennmsModelProtos.Alarm> alarmsInKtableByReductionKey, java.util.List<OnmsAlarm> alarmsInDb, java.util.Map<java.lang.String,OnmsAlarm> alarmsInDbByReductionKey, java.util.Set<java.lang.String> reductionKeysAdded, java.util.Set<java.lang.String> reductionKeysDeleted, java.util.Set<java.lang.String> reductionKeysUpdated)
-
-
Method Detail
-
getAlarmsInKtableByReductionKey
public java.util.Map<java.lang.String,OpennmsModelProtos.Alarm> getAlarmsInKtableByReductionKey()
-
getAlarmsInDb
public java.util.List<OnmsAlarm> getAlarmsInDb()
-
getAlarmsInDbByReductionKey
public java.util.Map<java.lang.String,OnmsAlarm> getAlarmsInDbByReductionKey()
-
getReductionKeysAdded
public java.util.Set<java.lang.String> getReductionKeysAdded()
-
getReductionKeysDeleted
public java.util.Set<java.lang.String> getReductionKeysDeleted()
-
getReductionKeysUpdated
public java.util.Set<java.lang.String> getReductionKeysUpdated()
-
getNumUpdates
public int getNumUpdates()
-
-