public abstract class ChainableClusteredDataTreeChangeListenerBase<T extends org.opendaylight.yangtools.yang.binding.DataObject> extends Object implements org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<T>, org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<T>
ClusteredDataTreeChangeListener
which is chain-able (ChainableDataTreeChangeListener
).
Do *NOT* use this just in order to be able to wait for change event processing of listeners extending this in tests with the AsyncEventsWaiter. That is not necessary - because this listener is not asynchronous. This is just intended to be used for any other cases where you would like a CDTL to be chainable, not for tests and the AsyncEventsWaiter.
Constructor and Description |
---|
ChainableClusteredDataTreeChangeListenerBase() |
Modifier and Type | Method and Description |
---|---|
void |
addAfterListener(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> listener) |
void |
addBeforeListener(org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<T> listener) |
void |
onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> changes) |
protected abstract void |
onDataTreeChanged2(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> changes) |
public ChainableClusteredDataTreeChangeListenerBase()
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 final 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>
protected abstract void onDataTreeChanged2(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> changes)
Copyright © 2019 OpenDaylight. All rights reserved.