Class AsyncClusteredDataTreeChangeListenerBase<T extends org.opendaylight.yangtools.yang.binding.DataObject,K extends org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<T>>
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncClusteredDataTreeChangeListenerBase<T,K>
-
- 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 useAbstractClusteredAsyncDataTreeChangeListener
instead of this!Deprecated DS listener.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AsyncClusteredDataTreeChangeListenerBase.DataTreeChangeHandler
Deprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AsyncClusteredDataTreeChangeListenerBase()
Deprecated.AsyncClusteredDataTreeChangeListenerBase(java.lang.Class<T> clazz, java.lang.Class<K> eventClazz)
Deprecated.protected
AsyncClusteredDataTreeChangeListenerBase(org.opendaylight.infrautils.metrics.MetricProvider metricProvider)
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.
-
-
-
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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfacejava.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.
-
-