Class InterVpnLinkCacheFeeder
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLink,InterVpnLinkCacheFeeder>
-
- org.opendaylight.netvirt.vpnmanager.intervpnlink.InterVpnLinkCacheFeeder
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<InterVpnLink>
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<InterVpnLink>
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<InterVpnLink>
@Singleton public class InterVpnLinkCacheFeeder extends org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLink,InterVpnLinkCacheFeeder>
Clustered listener whose only purpose is to keep global (well, per cluster) caches updated.
-
-
Constructor Summary
Constructors Constructor Description InterVpnLinkCacheFeeder(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, InterVpnLinkCache interVpnLinkCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLink> identifier, InterVpnLink add)
protected InterVpnLinkCacheFeeder
getDataTreeChangeListener()
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLink>
getWildCardPath()
void
init()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLink> identifier, InterVpnLink del)
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLink> identifier, InterVpnLink original, InterVpnLink update)
-
-
-
Constructor Detail
-
InterVpnLinkCacheFeeder
@Inject public InterVpnLinkCacheFeeder(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, InterVpnLinkCache interVpnLinkCache)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLink> identifier, InterVpnLink del)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLink,InterVpnLinkCacheFeeder>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLink> identifier, InterVpnLink original, InterVpnLink update)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLink,InterVpnLinkCacheFeeder>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLink> identifier, InterVpnLink add)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLink,InterVpnLinkCacheFeeder>
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLink> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLink,InterVpnLinkCacheFeeder>
-
getDataTreeChangeListener
protected InterVpnLinkCacheFeeder getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLink,InterVpnLinkCacheFeeder>
-
-