Class CacheBridgeEntryConfigListener

  • All Implemented Interfaces:
    java.util.EventListener, org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<BridgeEntry>, org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<BridgeEntry>

    @Singleton
    public class CacheBridgeEntryConfigListener
    extends java.lang.Object
    implements org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<BridgeEntry>
    This class listens for bridgeEntry creation/removal/update in Configuration DS and update the bridgeEntryCache as per changes in DS.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void onDataTreeChanged​(java.util.Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<BridgeEntry>> changes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CacheBridgeEntryConfigListener

        @Inject
        public CacheBridgeEntryConfigListener​(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
                                              InterfaceMetaUtils interfaceMetaUtils)
    • Method Detail

      • close

        @PreDestroy
        public void close()
      • onDataTreeChanged

        public void onDataTreeChanged​(java.util.Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<BridgeEntry>> changes)
        Specified by:
        onDataTreeChanged in interface org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<BridgeEntry>