Deprecate all MD-SAL APIs
[controller.git] / opendaylight / md-sal / sal-dom-spi / src / main / java / org / opendaylight / controller / sal / core / spi / data / DOMStoreThreePhaseCommitCohort.java
index 986a153efb2e45b481f66729e8c362deced8a1c9..145a7090d90c45de45b2a000a2dab27881b1fd88 100644 (file)
@@ -13,8 +13,11 @@ 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 <a href="https://en.wikipedia.org/wiki/Three-phase_commit">Three-Phase-Commit Protocol</a>.
+ *
+ * @deprecated Use {@link org.opendaylight.mdsal.dom.spi.store.DOMStoreThreePhaseCommitCohort} instead.
  */
+@Deprecated
 public interface DOMStoreThreePhaseCommitCohort {
 
     /**
@@ -29,12 +32,14 @@ public interface DOMStoreThreePhaseCommitCohort {
      *         true if transaction is approved by data store.
      *         <li>false if the transaction is not approved by data store and
      *         should be aborted.
+     *         </ul>
      */
     ListenableFuture<Boolean> canCommit();
 
     /**
      * Initiates a pre-commit phase of associated transaction on datastore.
      *
+     * <p>
      * This message is valid only and only if and only if the participant responded
      * on {@link #canCommit()} call with positive response.
      *