The DataTreeChangeListener abstraction offers many performance and semantic
advantages over DataChangeListener. Although there is no concrete date for DCL
removal, @Deprecated annotations are added to DCL API and impl classes to
dissuade their use. An example of how to transition from DCL to DTCL is
included in this patch:
https://git.opendaylight.org/gerrit/#/c/35209/
This patch is a follow up from comments made here:
https://git.opendaylight.org/gerrit/#/c/36970/
Change-Id: I505bd60ea4642733526c5cfea3850bc0c6ee6798
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
* @param <D>
* Type of data (payload), which represents data payload
*/
+@Deprecated
public interface AsyncDataChangeListener<P extends Path<P>, D> extends EventListener {
/**
*
/**
* DOMDataChangeListener enables data change notifications only at leader of the datastore shard.
*/
-
+@Deprecated
public interface DOMDataChangeListener extends AsyncDataChangeListener<YangInstanceIdentifier, NormalizedNode<?, ?>> {
}