Deprecate DCL in favor of DTCL 52/37452/2
authorRyan Goulding <>
Mon, 11 Apr 2016 19:29:35 +0000 (15:29 -0400)
committerTony Tkacik <>
Tue, 12 Apr 2016 14:14:00 +0000 (14:14 +0000)
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:

This patch is a follow up from comments made here:

Change-Id: I505bd60ea4642733526c5cfea3850bc0c6ee6798
Signed-off-by: Ryan Goulding <>

index 0bdaf7b..53194b3 100644 (file)
@@ -30,6 +30,7 @@ import org.opendaylight.yangtools.concepts.Path;
  * @param <D>
  *            Type of data (payload), which represents data payload
 public interface AsyncDataChangeListener<P extends Path<P>, D> extends EventListener {
index c46529b..e171db6 100644 (file)
@@ -14,7 +14,7 @@ import;
  * DOMDataChangeListener enables data change notifications only at leader of the datastore shard.
 public interface DOMDataChangeListener extends AsyncDataChangeListener<YangInstanceIdentifier, NormalizedNode<?, ?>> {

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.