Class DcGatewayIpListener

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

    @Singleton
    public class DcGatewayIpListener
    extends org.opendaylight.serviceutils.tools.mdsal.listener.AbstractSyncDataTreeChangeListener<DcGatewayIp>
    • Constructor Summary

      Constructors 
      Constructor Description
      DcGatewayIpListener​(DPNTEPsInfoCache dpnTEPsInfoCache, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, ItmConfig itmConfig, org.opendaylight.infrautils.jobcoordinator.JobCoordinator coordinator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Default Methods 
      Modifier and Type Method Description
      void add​(DcGatewayIp input)  
      default void add​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0, T arg1)
      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.mdsal.listener.DataStoreMetrics getDataStoreMetrics()  
      default void onDataTreeChanged​(java.util.Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics arg1)
      Deprecated.
       
      void register()  
      void remove​(DcGatewayIp input)  
      default void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0, T arg1)
      Deprecated.
       
      void update​(DcGatewayIp original, DcGatewayIp update)  
      default void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0, T arg1, T arg2)
      Deprecated.
       
      • Methods inherited from class org.opendaylight.serviceutils.tools.mdsal.listener.AbstractSyncDataTreeChangeListener

        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

        onInitialData
    • Constructor Detail

      • DcGatewayIpListener

        @Inject
        public DcGatewayIpListener​(DPNTEPsInfoCache dpnTEPsInfoCache,
                                   org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                   ItmConfig itmConfig,
                                   org.opendaylight.infrautils.jobcoordinator.JobCoordinator coordinator)
    • Method Detail

      • addBeforeListener

        public void addBeforeListener​(org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T> arg0)
        Specified by:
        addBeforeListener in interface org.opendaylight.serviceutils.tools.mdsal.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.mdsal.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.mdsal.listener.DataStoreMetrics getDataStoreMetrics()
      • close

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

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

        public default void add​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0,
                                T arg1)
        Deprecated.
      • remove

        public default void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0,
                                   T arg1)
        Deprecated.
      • update

        public default void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0,
                                   T arg1,
                                   T arg2)
        Deprecated.