Class CacheBridgeEntryConfigListener
- java.lang.Object
-
- org.opendaylight.genius.interfacemanager.listeners.CacheBridgeEntryConfigListener
-
- All Implemented Interfaces:
java.util.EventListener
,org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<BridgeEntry>
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<BridgeEntry>
@Singleton public class CacheBridgeEntryConfigListener extends java.lang.Object implements org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<BridgeEntry>
This class listens for bridgeEntry creation/removal/update in Configuration DS and update the bridgeEntryCache as per changes in DS.
-
-
Constructor Summary
Constructors Constructor Description CacheBridgeEntryConfigListener(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<BridgeEntry>> changes)
-
-
-
Constructor Detail
-
CacheBridgeEntryConfigListener
@Inject public CacheBridgeEntryConfigListener(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<BridgeEntry>> changes)
- Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<BridgeEntry>
-
-