Class CacheBridgeRefEntryListener
- java.lang.Object
-
- org.opendaylight.genius.interfacemanager.listeners.CacheBridgeRefEntryListener
-
- All Implemented Interfaces:
java.util.EventListener
,org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<BridgeRefEntry>
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<BridgeRefEntry>
@Singleton public class CacheBridgeRefEntryListener extends java.lang.Object implements org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<BridgeRefEntry>
This class listens for bridgeRefEntry creation/removal/update in Operational DS and update the bridgeRefEntryCache as per changes in DS.
-
-
Constructor Summary
Constructors Constructor Description CacheBridgeRefEntryListener(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, InterfaceMetaUtils interfaceMetaUtils)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
onDataTreeChanged(java.util.Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<BridgeRefEntry>> changes)
-
-
-
Constructor Detail
-
CacheBridgeRefEntryListener
@Inject public CacheBridgeRefEntryListener(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, InterfaceMetaUtils interfaceMetaUtils)
-
-
Method Detail
-
close
@PreDestroy public void close()
-
onDataTreeChanged
public void onDataTreeChanged(java.util.Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<BridgeRefEntry>> changes)
- Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<BridgeRefEntry>
-
-