Class InterVpnLinkStateCacheFeeder
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLinkState,InterVpnLinkStateCacheFeeder>
-
- org.opendaylight.netvirt.vpnmanager.intervpnlink.InterVpnLinkStateCacheFeeder
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.EventListener
,org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<InterVpnLinkState>
,org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<InterVpnLinkState>
,org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<InterVpnLinkState>
@Singleton public class InterVpnLinkStateCacheFeeder extends org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLinkState,InterVpnLinkStateCacheFeeder>
Clustered listener whose only purpose is to keep global (well, per cluster) caches updated. Same as InterVpnLinkCacheFeeder but this listens on InterVpnLinkState changes.
-
-
Constructor Summary
Constructors Constructor Description InterVpnLinkStateCacheFeeder(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<InterVpnLinkState> identifier, InterVpnLinkState add)
protected InterVpnLinkStateCacheFeeder
getDataTreeChangeListener()
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLinkState>
getWildCardPath()
void
init()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLinkState> identifier, InterVpnLinkState del)
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLinkState> identifier, InterVpnLinkState original, InterVpnLinkState update)
-
-
-
Constructor Detail
-
InterVpnLinkStateCacheFeeder
@Inject public InterVpnLinkStateCacheFeeder(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<InterVpnLinkState> identifier, InterVpnLinkState del)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLinkState,InterVpnLinkStateCacheFeeder>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLinkState> identifier, InterVpnLinkState original, InterVpnLinkState update)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLinkState,InterVpnLinkStateCacheFeeder>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLinkState> identifier, InterVpnLinkState add)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLinkState,InterVpnLinkStateCacheFeeder>
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<InterVpnLinkState> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLinkState,InterVpnLinkStateCacheFeeder>
-
getDataTreeChangeListener
protected InterVpnLinkStateCacheFeeder getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<InterVpnLinkState,InterVpnLinkStateCacheFeeder>
-
-