Class LearntVpnVipToPortEventProcessor
- java.lang.Object
-
- org.opendaylight.serviceutils.tools.listener.AbstractClusteredAsyncDataTreeChangeListener<LearntVpnVipToPortEvent>
-
- org.opendaylight.netvirt.vpnmanager.iplearn.LearntVpnVipToPortEventProcessor
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<LearntVpnVipToPortEvent>
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<LearntVpnVipToPortEvent>
,org.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<LearntVpnVipToPortEvent>
@Singleton public class LearntVpnVipToPortEventProcessor extends org.opendaylight.serviceutils.tools.listener.AbstractClusteredAsyncDataTreeChangeListener<LearntVpnVipToPortEvent>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MIP_PROCESSING_JOB
-
Constructor Summary
Constructors Constructor Description LearntVpnVipToPortEventProcessor(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, VpnUtil vpnUtil)
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Deprecated Methods Modifier and Type Method Description void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPortEvent> identifier, LearntVpnVipToPortEvent value)
void
add(T arg0)
Deprecated.void
addAfterListener(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
void
addBeforeListener(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
void
close()
protected org.opendaylight.mdsal.binding.api.DataBroker
getDataBroker()
protected org.opendaylight.serviceutils.tools.listener.DataStoreMetrics
getDataStoreMetrics()
default void
onDataTreeChanged(java.util.Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.listener.DataStoreMetrics arg1)
void
register()
void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPortEvent> key, LearntVpnVipToPortEvent value)
void
remove(T arg0)
Deprecated.void
start()
void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPortEvent> id, LearntVpnVipToPortEvent value, LearntVpnVipToPortEvent dataObjectModificationAfter)
void
update(T arg0, T arg1)
Deprecated.-
Methods inherited from class org.opendaylight.serviceutils.tools.listener.AbstractClusteredAsyncDataTreeChangeListener
getExecutorService, onDataTreeChanged
-
-
-
-
Field Detail
-
MIP_PROCESSING_JOB
public static final java.lang.String MIP_PROCESSING_JOB
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LearntVpnVipToPortEventProcessor
@Inject public LearntVpnVipToPortEventProcessor(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.genius.interfacemanager.interfaces.IInterfaceManager interfaceManager, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, VpnUtil vpnUtil)
-
-
Method Detail
-
start
public void start()
-
close
@PreDestroy public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
update
public void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPortEvent> id, LearntVpnVipToPortEvent value, LearntVpnVipToPortEvent dataObjectModificationAfter)
-
add
public void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPortEvent> identifier, LearntVpnVipToPortEvent value)
-
remove
public void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<LearntVpnVipToPortEvent> key, LearntVpnVipToPortEvent value)
-
addBeforeListener
public void addBeforeListener(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
- Specified by:
addBeforeListener
in interfaceorg.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
-
addAfterListener
public void addAfterListener(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
- Specified by:
addAfterListener
in interfaceorg.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
-
register
@PostConstruct public void register()
-
getDataBroker
protected org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
-
getDataStoreMetrics
protected org.opendaylight.serviceutils.tools.listener.DataStoreMetrics getDataStoreMetrics()
-
add
@Deprecated public void add(T arg0)
Deprecated.
-
remove
@Deprecated public void remove(T arg0)
Deprecated.
-
update
@Deprecated public void update(T arg0, T arg1)
Deprecated.
-
onDataTreeChanged
public default void onDataTreeChanged(java.util.Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.listener.DataStoreMetrics arg1)
-
-