X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fdata%2FAsyncConfigurationCommitCohort.java;h=6f81e941c7e62add8df8f2a857f1fcc1de2f467b;hb=0b283e62a5872be1960635d5d6c4d301b1f87df2;hp=9fb350b7c06cc40ac64f38efbda9ac305680bb65;hpb=e64d758b45360b2ed8b7d8967fc1c7caaa7aa58f;p=controller.git diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncConfigurationCommitCohort.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncConfigurationCommitCohort.java index 9fb350b7c0..6f81e941c7 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncConfigurationCommitCohort.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncConfigurationCommitCohort.java @@ -7,14 +7,11 @@ */ 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

* Type of path (subtree identifier), which represents location in @@ -27,6 +24,7 @@ public interface AsyncConfigurationCommitCohort

, D> { /** * Initiates a pre-commit of associated request * + *

* 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. @@ -40,9 +38,9 @@ public interface AsyncConfigurationCommitCohort

, D> { ListenableFuture preCommit(AsyncReadTransaction rebasedTransaction); /** - * * Initiates a commit phase of associated request * + *

* Implementation MUST NOT do any blocking calls during this callback, all * commit finalization SHOULD happen asynchronously and MUST result in * completing returned future object. @@ -53,9 +51,9 @@ public interface AsyncConfigurationCommitCohort

, D> { ListenableFuture commit(); /** - * * Initiates abort phase of associated request * + *

* Implementation MUST NOT do any blocking calls during this callback, all * commit finalization SHOULD happen asynchronously and MUST result in * completing returned future object.