AsyncWriteTransaction JavaDoc re. retries > instead of < 70/63470/1
authorMichael Vorburger <vorburger@redhat.com>
Sat, 23 Sep 2017 00:46:57 +0000 (02:46 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Sat, 23 Sep 2017 00:46:57 +0000 (02:46 +0200)
commit690b4c7632f05f7f1ba23e45ce2d00a2e82d22c1
treed2c0cb36016a6200fd2830873f40314e803c5805
parent2643c6b23a41336f28e6c912c31786a649b1a261
AsyncWriteTransaction JavaDoc re. retries > instead of <

in case of OptimisticLockFailedException, one should do:

   if (tries - 1 > 0) { // do retry
   } else { // out of retries

and not if (tries - 1 < 0 ).

Change-Id: I6a7b681c7e7bd1a9787c640e2cdd5ab7723a74a2
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncWriteTransaction.java

©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.