Class QosAlertManager

  • All Implemented Interfaces:
    java.lang.Runnable

    @Singleton
    public final class QosAlertManager
    extends java.lang.Object
    implements java.lang.Runnable
    • Constructor Detail

      • QosAlertManager

        @Inject
        public QosAlertManager​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                               org.opendaylight.yang.gen.v1.urn.opendaylight.direct.statistics.rev160511.OpendaylightDirectStatisticsService odlDirectStatisticsService,
                               QosalertConfig defaultConfig,
                               QosNeutronUtils qosNeutronUtils,
                               QosEosHandler qosEosHandler,
                               org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager)
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • close

        @PreDestroy
        public void close()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • setQosalertConfig

        public void setQosalertConfig​(QosalertConfig config)
      • restoreDefaultConfig

        public void restoreDefaultConfig()
      • setThreshold

        public void setThreshold​(short threshold)
      • setPollInterval

        public void setPollInterval​(int pollInterval)
      • setEnable

        public void setEnable​(boolean enable)
      • addInterfaceIdInQoSAlertCache

        public void addInterfaceIdInQoSAlertCache​(java.lang.String ifaceId)
      • displayConfig

        public void displayConfig​(org.apache.felix.service.command.CommandSession session)
      • processInterfaceUpEvent

        public void processInterfaceUpEvent​(java.lang.String ifaceId)
      • removeInterfaceIdFromQosAlertCache

        public void removeInterfaceIdFromQosAlertCache​(java.lang.String ifaceId)
      • removeLowerLayerIfFromQosAlertCache

        public void removeLowerLayerIfFromQosAlertCache​(java.lang.String lowerLayerIf)