X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-spi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcore%2Fspi%2Fdata%2FDOMStoreWriteTransaction.java;h=3aaf006f3723cab7336d7aa66ba565f9eb947975;hp=1964fd41bd86657a6f68156ed21035f1ac016bb3;hb=356ac60051791b56cd28390356906810c0db6024;hpb=7c1be1d20084ee053747d517d597f1a07df694bd diff --git a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreWriteTransaction.java b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreWriteTransaction.java index 1964fd41bd..3aaf006f37 100644 --- a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreWriteTransaction.java +++ b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreWriteTransaction.java @@ -17,14 +17,12 @@ public interface DOMStoreWriteTransaction extends DOMStoreTransaction { * operation, which is to say that whole subtree will be replaced by * specified path. * + *

* If you need add or merge of current object with specified use * {@link #merge(YangInstanceIdentifier, NormalizedNode)}. * - * - * @param path - * @param data - * Data object to be written - * + * @param path the path to write + * @param data data object to be written * @throws IllegalStateException * if the client code already sealed transaction and invoked * {@link #ready()} @@ -36,10 +34,8 @@ public interface DOMStoreWriteTransaction extends DOMStoreTransaction { * operation, which is to say that whole subtree will be replaced by * specified path. * - * @param path - * @param data - * Data object to be written - * + * @param path the path to write + * @param data data object to be written * @throws IllegalStateException * if the client code already sealed transaction and invoked * {@link #ready()} @@ -47,11 +43,9 @@ public interface DOMStoreWriteTransaction extends DOMStoreTransaction { void merge(YangInstanceIdentifier path, NormalizedNode data); /** - * * Deletes data and whole subtree located at provided path. * - * @param path - * Path to delete + * @param path path to delete * @throws IllegalStateException * if the client code already sealed transaction and invoked * {@link #ready()} @@ -59,7 +53,6 @@ public interface DOMStoreWriteTransaction extends DOMStoreTransaction { void delete(YangInstanceIdentifier path); /** - * * Seals transaction, and returns three-phase commit cohort associated * with this transaction and DOM Store to be coordinated by coordinator. *