X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fdata%2FAsyncDataTransactionFactory.java;h=46f6ccc32f2d6fd6b0210728555ba04a59cc1a73;hb=0b283e62a5872be1960635d5d6c4d301b1f87df2;hp=22fa5ff9e489f23467ecd5a8f0991dcccb10b606;hpb=2e4ffc89f2d46950dbfdd8259f817ae4c336e3ef;p=controller.git diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncDataTransactionFactory.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncDataTransactionFactory.java index 22fa5ff9e4..46f6ccc32f 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncDataTransactionFactory.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncDataTransactionFactory.java @@ -39,7 +39,7 @@ import org.opendaylight.yangtools.concepts.Path; * For a detailed explanation of how transaction are isolated and how transaction-local * changes are committed to global data tree, see * {@link AsyncReadTransaction}, {@link AsyncWriteTransaction}, - * {@link AsyncReadWriteTransaction} and {@link AsyncWriteTransaction#commit()}. + * {@link AsyncReadWriteTransaction} and {@link AsyncWriteTransaction#submit()}. * *

* It is strongly recommended to use the type of transaction, which @@ -83,7 +83,7 @@ public interface AsyncDataTransactionFactory

, D> { * Preconditions for mutation of data tree are captured from the snapshot of * data tree state, when the transaction is allocated. If data was * changed during transaction in an incompatible way then the commit of this transaction - * will fail. See {@link AsyncWriteTransaction#commit()} for more + * will fail. See {@link AsyncWriteTransaction#submit()} for more * details about conflicting and not-conflicting changes and * failure scenarios. * @@ -99,7 +99,7 @@ public interface AsyncDataTransactionFactory

, D> { * Preconditions for mutation of data tree are captured from the snapshot of * data tree state, when the transaction is allocated. If data was * changed during transaction in an incompatible way then the commit of this transaction - * will fail. See {@link AsyncWriteTransaction#commit()} for more + * will fail. See {@link AsyncWriteTransaction#submit()} for more * details about conflicting and not-conflicting changes and * failure scenarios. * @@ -107,7 +107,7 @@ public interface AsyncDataTransactionFactory

, D> { * Since this transaction does not provide a view of the data it SHOULD BE * used only by callers which are exclusive writers (exporters of data) * to the subtree they modify. This prevents optimistic - * lock failures as described in {@link AsyncWriteTransaction#commit()}. + * lock failures as described in {@link AsyncWriteTransaction#submit()}. * *

* Exclusivity of writers to particular subtree SHOULD BE enforced by