Class 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 API AlarmFeedbackDao. Used to get/submit feedback.
    • 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 startup
        sleepTimeInMs - how long to sleep in between attempts to find an implementation of the service
        waitTimeMs - 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 interface org.opennms.integration.api.v1.dao.AlarmFeedbackDao
      • submitFeedback

        public void submitFeedback​(List<org.opennms.integration.api.v1.model.AlarmFeedback> alarmFeedback)
        Specified by:
        submitFeedback in interface org.opennms.integration.api.v1.dao.AlarmFeedbackDao