Deprecate DCL in favor of DTCL 52/37452/2
authorRyan Goulding <ryandgoulding@gmail.com>
Mon, 11 Apr 2016 19:29:35 +0000 (15:29 -0400)
committerTony Tkacik <ttkacik@cisco.com>
Tue, 12 Apr 2016 14:14:00 +0000 (14:14 +0000)
commitea4f0324d3384918491ed9cc844f53a918a541e8
tree715ccaa49811fca3e96e3eb0fcdd5bcc5ba70ea7
parent43e38d1743079e0bfd2901cb92a353d3862de4b1
Deprecate DCL in favor of DTCL

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>
opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncDataChangeListener.java
opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/md/sal/dom/api/DOMDataChangeListener.java