X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=dom%2Fmdsal-dom-spi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fmdsal%2Fdom%2Fspi%2Fstore%2FDOMStoreTransactionChain.java;h=dc1fb013413d265834388e9ffffeba8373781685;hb=5e09dedf6a5423744d9d56a464adf3664459db6d;hp=2ab83dc12e787f19b527e7dae7df30f61a22c504;hpb=6a192f0eeedc302ae0b506d04f9d79b34406aef5;p=mdsal.git diff --git a/dom/mdsal-dom-spi/src/main/java/org/opendaylight/mdsal/dom/spi/store/DOMStoreTransactionChain.java b/dom/mdsal-dom-spi/src/main/java/org/opendaylight/mdsal/dom/spi/store/DOMStoreTransactionChain.java index 2ab83dc12e..dc1fb01341 100644 --- a/dom/mdsal-dom-spi/src/main/java/org/opendaylight/mdsal/dom/spi/store/DOMStoreTransactionChain.java +++ b/dom/mdsal-dom-spi/src/main/java/org/opendaylight/mdsal/dom/spi/store/DOMStoreTransactionChain.java @@ -18,15 +18,12 @@ public interface DOMStoreTransactionChain extends DOMStoreTransactionFactory, Au /** * Create a new read only transaction which will continue the chain. The * previous write transaction has to be either READY or CANCELLED. - * * If previous write transaction was already commited to data store, new * read-only transaction is same as obtained via {@link DOMStore#newReadOnlyTransaction()} * and contains merged result of previous one and current state of data store. - * * Otherwise read-only transaction presents isolated view as if previous read-write * transaction was successful. State which was introduced by other transactions * outside this transaction chain after creation of previous transaction is not visible. - * * @return New transaction in the chain. * @throws IllegalStateException * if the previous transaction was not READY or CANCELLED, or @@ -39,10 +36,12 @@ public interface DOMStoreTransactionChain extends DOMStoreTransactionFactory, Au * Create a new read write transaction which will continue the chain. The * previous read-write transaction has to be either COMMITED or CANCELLED. * + *

* If previous write transaction was already commited to data store, new * read-write transaction is same as obtained via {@link DOMStore#newReadWriteTransaction()} * and contains merged result of previous one and current state of data store. * + *

* Otherwise read-write transaction presents isolated view as if previous read-write * transaction was successful. State which was introduced by other transactions * outside this transaction chain after creation of previous transaction is not visible. @@ -59,7 +58,6 @@ public interface DOMStoreTransactionChain extends DOMStoreTransactionFactory, Au * Create a new write-only transaction which will continue the chain. The * previous read-write transaction has to be either READY or CANCELLED. * - * * @return New transaction in the chain. * @throws IllegalStateException * if the previous transaction was not READY or CANCELLED, or @@ -71,6 +69,7 @@ public interface DOMStoreTransactionChain extends DOMStoreTransactionFactory, Au /** * Closes Transaction Chain. * + *

* Close method of transaction chain does not guarantee that * last alocated transaction is ready or was submitted. *