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%2FDOMStoreTransactionChain.java;h=dfffd3ef401e2de1b3cd42eca99ffe4de9732345;hp=b916fddca7796e90dca402f1a8b4ac6a26fe2837;hb=356ac60051791b56cd28390356906810c0db6024;hpb=c4d4ae571f2d6bcd968ffa5e04833999b86ffa6e diff --git a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreTransactionChain.java b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreTransactionChain.java index b916fddca7..dfffd3ef40 100644 --- a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreTransactionChain.java +++ b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreTransactionChain.java @@ -19,10 +19,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. @@ -39,10 +41,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. @@ -71,6 +75,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. *