Adjust to DOMDataTreeCommitCohort API change 71/74471/1
authorTom Pantelis <tompantelis@gmail.com>
Wed, 25 Jul 2018 17:17:54 +0000 (13:17 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Wed, 25 Jul 2018 17:17:54 +0000 (13:17 -0400)
commit5fa5244653ee7ad3042324fb1f21fad69581b3d2
tree432e1a28c498c7ea8a69a7d9b31cd5edcc94ea01
parenta6af137c30470b86d4bc624d4c48cb686495a182
Adjust to DOMDataTreeCommitCohort API change

Use the new canCommit method that returns FluentFuture
instead of the deprecated CheckedFuture.

Change-Id: I110722a96c4933d32d8ff4b3237a90feddf21747
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DataTreeCohortActor.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataTreeCohortActorTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/DataTreeCohortIntegrationTest.java
opendaylight/md-sal/samples/clustering-test-app/provider/src/main/java/org/opendaylight/controller/clustering/it/provider/CarEntryDataTreeCommitCohort.java