X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-spi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcore%2Fspi%2Fdata%2FDOMStoreThreePhaseCommitCohort.java;h=ec54e42cd7aa61a46be3f38fe2b9138e06dd48e9;hb=a81d98f692b80c45bce3fe6a87e731abfb012a9f;hp=986a153efb2e45b481f66729e8c362deced8a1c9;hpb=4f8166639477de8c1c9048baee2ba70003748756;p=controller.git diff --git a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreThreePhaseCommitCohort.java b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreThreePhaseCommitCohort.java index 986a153efb..ec54e42cd7 100644 --- a/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreThreePhaseCommitCohort.java +++ b/opendaylight/md-sal/sal-dom-spi/src/main/java/org/opendaylight/controller/sal/core/spi/data/DOMStoreThreePhaseCommitCohort.java @@ -13,7 +13,7 @@ import com.google.common.util.concurrent.ListenableFuture; * Interface implemented by the {@link DOMStore} and exposed for each {@link DOMStoreWriteTransaction} * upon its transition to Ready state. The frontend (DOMStore user) uses this interface to drive the * commit procedure across potentially multiple DOMStores using the Three-Phase-Commit (3PC) Protocol, - * as described in {@link https://en.wikipedia.org/wiki/Three-phase_commit}. + * as described in Three-Phase-Commit Protocol. */ public interface DOMStoreThreePhaseCommitCohort { @@ -29,6 +29,7 @@ public interface DOMStoreThreePhaseCommitCohort { * true if transaction is approved by data store. *
  • false if the transaction is not approved by data store and * should be aborted. + * */ ListenableFuture canCommit();