Class BgpConfigurationManager.NetworksReactor

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.EventListener, org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<Networks>, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<Networks>, org.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<Networks>
    Enclosing class:
    BgpConfigurationManager

    public class BgpConfigurationManager.NetworksReactor
    extends org.opendaylight.serviceutils.tools.listener.AbstractAsyncDataTreeChangeListener<Networks>
    implements org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<Networks>
    • Constructor Summary

      Constructors 
      Constructor Description
      NetworksReactor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Default Methods Deprecated Methods 
      Modifier and Type Method Description
      void add​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks val)  
      void add​(T arg0)
      Deprecated.
      void addAfterListener​(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)  
      void addBeforeListener​(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)  
      void close()  
      protected org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()  
      protected org.opendaylight.serviceutils.tools.listener.DataStoreMetrics getDataStoreMetrics()  
      default void onDataTreeChanged​(java.util.Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.listener.DataStoreMetrics arg1)  
      void register()  
      void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks val)  
      void remove​(T arg0)
      Deprecated.
      int testValueAFI​(java.lang.String pfxlen)
      get the value AFI from a prefix as "x.x.x.x/x".
      void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid, Networks oldval, Networks newval)  
      void update​(T arg0, T arg1)
      Deprecated.
      • Methods inherited from class org.opendaylight.serviceutils.tools.listener.AbstractAsyncDataTreeChangeListener

        getExecutorService, onDataTreeChanged
      • 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

        onDataTreeChanged, onInitialData
    • Constructor Detail

      • NetworksReactor

        public NetworksReactor()
    • Method Detail

      • add

        public void add​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid,
                        Networks val)
      • remove

        public void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid,
                           Networks val)
      • testValueAFI

        public int testValueAFI​(java.lang.String pfxlen)
        get the value AFI from a prefix as "x.x.x.x/x".
        Parameters:
        pfxlen - the prefix to get an afi
        Returns:
        the afi value as you are need
      • update

        public void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Networks> iid,
                           Networks oldval,
                           Networks newval)
      • addBeforeListener

        public void addBeforeListener​(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
        Specified by:
        addBeforeListener in interface org.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • addAfterListener

        public void addAfterListener​(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
        Specified by:
        addAfterListener in interface org.opendaylight.serviceutils.tools.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • register

        @PostConstruct
        public void register()
      • getDataBroker

        protected org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
      • getDataStoreMetrics

        protected org.opendaylight.serviceutils.tools.listener.DataStoreMetrics getDataStoreMetrics()
      • close

        @PreDestroy
        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • add

        @Deprecated
        public void add​(T arg0)
        Deprecated.
      • remove

        @Deprecated
        public void remove​(T arg0)
        Deprecated.
      • update

        @Deprecated
        public void update​(T arg0,
                           T arg1)
        Deprecated.
      • onDataTreeChanged

        public default void onDataTreeChanged​(java.util.Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> arg0,
                                              org.opendaylight.serviceutils.tools.listener.DataStoreMetrics arg1)