X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fdata%2FAsyncReadWriteTransaction.java;h=a992c010b7188c71c2c29c04e07d3fd8da82fd91;hp=1ebb5309e8116bc398212dc2a74b7db7fb59ca27;hb=0f69f9e83ca8602d7ad7646ff4e146f802c534c1;hpb=2e4ffc89f2d46950dbfdd8259f817ae4c336e3ef diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncReadWriteTransaction.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncReadWriteTransaction.java index 1ebb5309e8..a992c010b7 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncReadWriteTransaction.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncReadWriteTransaction.java @@ -24,14 +24,14 @@ import org.opendaylight.yangtools.concepts.Path; * transactions. * *

- * Applications publish the changes proposed in the transaction by calling {@link #commit} + * Applications publish the changes proposed in the transaction by calling {@link #submit} * on the transaction. This seals the transaction * (preventing any further writes using this transaction) and submits it to be * processed and applied to global conceptual data tree. * *

* The transaction commit may fail due to a concurrent transaction modifying and committing data in - * an incompatible way. See {@link #commit()} for more concrete commit failure examples. + * an incompatible way. See {@link #submit()} for more concrete commit failure examples. * * Implementation Note: This interface is not intended to be implemented * by users of MD-SAL, but only to be consumed by them. @@ -122,7 +122,7 @@ import org.opendaylight.yangtools.concepts.Path; * that action happened after other asynchronous action. Use of blocking call * {@link com.google.common.util.concurrent.ListenableFuture#get()} is discouraged for most uses and you should * use {@link com.google.common.util.concurrent.Futures#addCallback(com.google.common.util.concurrent.ListenableFuture, - * com.google.common.util.concurrent.FutureCallback)} + * com.google.common.util.concurrent.FutureCallback, java.util.concurrent.Executor)} * or other functions from {@link com.google.common.util.concurrent.Futures} to * register more specific listeners. *