Class QosAlertManager
- java.lang.Object
-
- org.opendaylight.netvirt.qosservice.QosAlertManager
-
- All Implemented Interfaces:
java.lang.Runnable
@Singleton public final class QosAlertManager extends java.lang.Object implements java.lang.Runnable
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInterfaceIdInQoSAlertCache(java.lang.String ifaceId)
void
close()
void
displayConfig(org.apache.felix.service.command.CommandSession session)
void
init()
void
processInterfaceUpEvent(java.lang.String ifaceId)
void
removeInterfaceIdFromQosAlertCache(java.lang.String ifaceId)
void
removeLowerLayerIfFromQosAlertCache(java.lang.String lowerLayerIf)
void
restoreDefaultConfig()
void
run()
void
setEnable(boolean enable)
void
setPollInterval(int pollInterval)
void
setQosalertConfig(QosalertConfig config)
void
setThreshold(short threshold)
-
-
-
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 interfacejava.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)
-
-