Class AsyncClusteredDataTreeChangeListenerBase<T extends org.opendaylight.yangtools.yang.binding.DataObject,​K extends org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<T>>

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.EventListener, org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<T>, org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T>, org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<T>
    Direct Known Subclasses:
    HwvtepClusteredDataTreeChangeListener, InterfaceInventoryStateListener, InterfaceStateListener, InterfaceTopologyStateListener, NodeConnectorStatsImpl, TerminationPointStateListener

    @Deprecated
    public abstract class AsyncClusteredDataTreeChangeListenerBase<T extends org.opendaylight.yangtools.yang.binding.DataObject,​K extends org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<T>>
    extends java.lang.Object
    implements org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<T>, org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<T>, java.lang.AutoCloseable
    Deprecated.
    Please use AbstractClusteredAsyncDataTreeChangeListener instead of this!
    Deprecated DS listener.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Class<T> clazz
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected abstract void add​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> key, T dataObjectModification)
      Deprecated.
       
      void addAfterListener​(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> listener)
      Deprecated.
       
      void addBeforeListener​(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> listener)
      Deprecated.
       
      void close()
      Deprecated.
       
      void deregisterListener()
      Deprecated.
       
      protected abstract K getDataTreeChangeListener()
      Deprecated.
       
      protected abstract org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> getWildCardPath()
      Deprecated.
       
      void onDataTreeChanged​(java.util.Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> changes)
      Deprecated.
       
      void registerListener​(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType dsType, org.opendaylight.controller.md.sal.binding.api.DataBroker db)
      Deprecated.
       
      protected abstract void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> key, T dataObjectModification)
      Deprecated.
       
      protected abstract void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> key, T dataObjectModificationBefore, T dataObjectModificationAfter)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • clazz

        protected final java.lang.Class<T extends org.opendaylight.yangtools.yang.binding.DataObject> clazz
        Deprecated.
    • Constructor Detail

      • AsyncClusteredDataTreeChangeListenerBase

        protected AsyncClusteredDataTreeChangeListenerBase()
        Deprecated.
      • AsyncClusteredDataTreeChangeListenerBase

        @Deprecated
        public AsyncClusteredDataTreeChangeListenerBase​(java.lang.Class<T> clazz,
                                                        java.lang.Class<K> eventClazz)
        Deprecated.
      • AsyncClusteredDataTreeChangeListenerBase

        protected AsyncClusteredDataTreeChangeListenerBase​(org.opendaylight.infrautils.metrics.MetricProvider metricProvider)
        Deprecated.
    • Method Detail

      • addBeforeListener

        public void addBeforeListener​(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> listener)
        Deprecated.
        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.controller.md.sal.binding.api.DataTreeChangeListener<T> listener)
        Deprecated.
        Specified by:
        addAfterListener in interface org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • onDataTreeChanged

        public void onDataTreeChanged​(java.util.Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> changes)
        Deprecated.
        Specified by:
        onDataTreeChanged in interface org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
      • registerListener

        public void registerListener​(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType dsType,
                                     org.opendaylight.controller.md.sal.binding.api.DataBroker db)
        Deprecated.
      • deregisterListener

        public void deregisterListener()
        Deprecated.
      • close

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

        protected abstract org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> getWildCardPath()
        Deprecated.
      • remove

        protected abstract void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> key,
                                       T dataObjectModification)
        Deprecated.
      • update

        protected abstract void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> key,
                                       T dataObjectModificationBefore,
                                       T dataObjectModificationAfter)
        Deprecated.
      • add

        protected abstract void add​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> key,
                                    T dataObjectModification)
        Deprecated.
      • getDataTreeChangeListener

        protected abstract K getDataTreeChangeListener()
        Deprecated.