*/
package org.opendaylight.controller.md.sal.common.api.data;
-import org.opendaylight.yangtools.concepts.Path;
-
import com.google.common.util.concurrent.ListenableFuture;
+import org.opendaylight.yangtools.concepts.Path;
/**
- *
- * Three phase Commit Cohort for subtree, which is
- * uniquely associated with user submitted transcation.
+ * Three phase Commit Cohort for subtree, which is uniquely associated with user submitted transaction.
*
* @param <P>
* Type of path (subtree identifier), which represents location in
* @param <D>
* Type of data (payload), which represents data payload
*/
+@Deprecated
public interface AsyncConfigurationCommitCohort<P extends Path<P>, D> {
/**
* Initiates a pre-commit of associated request
*
+ * <p>
* Implementation MUST NOT do any blocking calls during this callback, all
* pre-commit preparation SHOULD happen asynchronously and MUST result in
* completing returned future object.
ListenableFuture<Void> preCommit(AsyncReadTransaction<P, D> rebasedTransaction);
/**
- *
* Initiates a commit phase of associated request
*
+ * <p>
* Implementation MUST NOT do any blocking calls during this callback, all
* commit finalization SHOULD happen asynchronously and MUST result in
* completing returned future object.
ListenableFuture<Void> commit();
/**
- *
* Initiates abort phase of associated request
*
+ * <p>
* Implementation MUST NOT do any blocking calls during this callback, all
* commit finalization SHOULD happen asynchronously and MUST result in
* completing returned future object.