Class AlarmFeedbackDaoImpl
- java.lang.Object
-
- org.opennms.features.apilayer.dao.AlarmFeedbackDaoImpl
-
- All Implemented Interfaces:
org.opennms.integration.api.v1.dao.AlarmFeedbackDao
public class AlarmFeedbackDaoImpl extends Object implements org.opennms.integration.api.v1.dao.AlarmFeedbackDao
The implementation for the integration APIAlarmFeedbackDao
. Used to get/submit feedback.
-
-
Constructor Summary
Constructors Constructor Description AlarmFeedbackDaoImpl(long gracePeriodInMs, long sleepTimeInMs, long waitTimeMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.opennms.integration.api.v1.model.AlarmFeedback>
getFeedback()
void
submitFeedback(List<org.opennms.integration.api.v1.model.AlarmFeedback> alarmFeedback)
-
-
-
Constructor Detail
-
AlarmFeedbackDaoImpl
public AlarmFeedbackDaoImpl(long gracePeriodInMs, long sleepTimeInMs, long waitTimeMs)
- Parameters:
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 service
-
-
Method Detail
-
getFeedback
public List<org.opennms.integration.api.v1.model.AlarmFeedback> getFeedback()
- Specified by:
getFeedback
in interfaceorg.opennms.integration.api.v1.dao.AlarmFeedbackDao
-
submitFeedback
public void submitFeedback(List<org.opennms.integration.api.v1.model.AlarmFeedback> alarmFeedback)
- Specified by:
submitFeedback
in interfaceorg.opennms.integration.api.v1.dao.AlarmFeedbackDao
-
-