Deprecate DCL in favor of DTCL 70/36970/2
authorRyan Goulding <ryandgoulding@gmail.com>
Thu, 31 Mar 2016 15:02:31 +0000 (11:02 -0400)
committerTony Tkacik <ttkacik@cisco.com>
Mon, 4 Apr 2016 08:23:18 +0000 (08:23 +0000)
commit11e16facd8ba32e307d634b6da13160d57597cce
treeac4349441ea68c4101e72b10d56b8a201b52ef24
parent3676d1686706dbee6656e86a23c4bdb516d5267b
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/

Change-Id: Ie6d287224f572f157d41bf56c04b02e60ea8bf2a
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/ClusteredDataChangeListener.java
opendaylight/md-sal/sal-binding-api/src/main/java/org/opendaylight/controller/md/sal/binding/api/DataChangeListener.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataChangeListener.java