public class AlarmFeedbackDaoImpl extends Object implements org.opennms.integration.api.v1.dao.AlarmFeedbackDao
AlarmFeedbackDao
. Used to get/submit feedback.Constructor and Description |
---|
AlarmFeedbackDaoImpl(long gracePeriodInMs,
long sleepTimeInMs,
long waitTimeMs) |
Modifier and Type | Method and Description |
---|---|
List<org.opennms.integration.api.v1.model.AlarmFeedback> |
getFeedback() |
void |
submitFeedback(List<org.opennms.integration.api.v1.model.AlarmFeedback> alarmFeedback) |
public AlarmFeedbackDaoImpl(long gracePeriodInMs, long sleepTimeInMs, long waitTimeMs)
gracePeriodInMs
- a grace period of time to allow the implementation to show up on initial startupsleepTimeInMs
- how long to sleep in between attempts to find an implementation of the servicewaitTimeMs
- how long to block waiting for an implementation of the servicepublic List<org.opennms.integration.api.v1.model.AlarmFeedback> getFeedback()
getFeedback
in interface org.opennms.integration.api.v1.dao.AlarmFeedbackDao
public void submitFeedback(List<org.opennms.integration.api.v1.model.AlarmFeedback> alarmFeedback)
submitFeedback
in interface org.opennms.integration.api.v1.dao.AlarmFeedbackDao
Copyright © 2021. All rights reserved.