AbstractClusteredAsyncDataTreeChangeListener
instead of this!@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 Object implements org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<T>, org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<T>, AutoCloseable
Modifier and Type | Class and Description |
---|---|
class |
AsyncClusteredDataTreeChangeListenerBase.DataTreeChangeHandler
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
AsyncClusteredDataTreeChangeListenerBase()
Deprecated.
|
|
AsyncClusteredDataTreeChangeListenerBase(Class<T> clazz,
Class<K> eventClazz)
Deprecated.
|
protected |
AsyncClusteredDataTreeChangeListenerBase(org.opendaylight.infrautils.metrics.MetricProvider metricProvider)
Deprecated.
|
Modifier and Type | Method and 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(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.
|
protected AsyncClusteredDataTreeChangeListenerBase()
@Deprecated public AsyncClusteredDataTreeChangeListenerBase(Class<T> clazz, Class<K> eventClazz)
protected AsyncClusteredDataTreeChangeListenerBase(org.opendaylight.infrautils.metrics.MetricProvider metricProvider)
public void addBeforeListener(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> listener)
addBeforeListener
in interface org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
public void addAfterListener(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> listener)
addAfterListener
in interface org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
public void onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> changes)
onDataTreeChanged
in interface org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
public void registerListener(org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType dsType, org.opendaylight.controller.md.sal.binding.api.DataBroker db)
public void deregisterListener()
@PreDestroy public void close()
close
in interface AutoCloseable
protected abstract org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> getWildCardPath()
protected abstract void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> key, T dataObjectModification)
protected abstract void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> key, T dataObjectModificationBefore, T dataObjectModificationAfter)
protected abstract void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> key, T dataObjectModification)
protected abstract K getDataTreeChangeListener()
Copyright © 2019 OpenDaylight. All rights reserved.