Class IpMonitoringHandler
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<LearntVpnVipToPort,IpMonitoringHandler>
-
- org.opendaylight.netvirt.vpnmanager.iplearn.IpMonitoringHandler
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<LearntVpnVipToPort>
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<LearntVpnVipToPort>
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<LearntVpnVipToPort>
@Singleton public class IpMonitoringHandler extends org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<LearntVpnVipToPort,IpMonitoringHandler>
-
-
Constructor Summary
Constructors Constructor Description IpMonitoringHandler(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.AlivenessMonitorService alivenessManager, INeutronVpnManager neutronVpnService, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, AlivenessMonitorUtils alivenessMonitorUtils, VpnUtil vpnUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPort> identifier, LearntVpnVipToPort value)
void
close()
protected IpMonitoringHandler
getDataTreeChangeListener()
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPort>
getWildCardPath()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPort> key, LearntVpnVipToPort value)
void
start()
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPort> id, LearntVpnVipToPort value, LearntVpnVipToPort dataObjectModificationAfter)
-
-
-
Constructor Detail
-
IpMonitoringHandler
@Inject public IpMonitoringHandler(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.genius.alivenessmonitor.rev160411.AlivenessMonitorService alivenessManager, INeutronVpnManager neutronVpnService, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, AlivenessMonitorUtils alivenessMonitorUtils, VpnUtil vpnUtil)
-
-
Method Detail
-
start
@PostConstruct public void start()
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Overrides:
close
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<LearntVpnVipToPort,IpMonitoringHandler>
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPort> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<LearntVpnVipToPort,IpMonitoringHandler>
-
getDataTreeChangeListener
protected IpMonitoringHandler getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<LearntVpnVipToPort,IpMonitoringHandler>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPort> id, LearntVpnVipToPort value, LearntVpnVipToPort dataObjectModificationAfter)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<LearntVpnVipToPort,IpMonitoringHandler>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPort> identifier, LearntVpnVipToPort value)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<LearntVpnVipToPort,IpMonitoringHandler>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPort> key, LearntVpnVipToPort value)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<LearntVpnVipToPort,IpMonitoringHandler>
-
-