Class 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.
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener

        onInitialData
    • 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 interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<BridgeRefEntry>