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=9e4290eba2b0e67244eb6ae3abaeae47e2041fca;hb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0;hp=9fb350b7c06cc40ac64f38efbda9ac305680bb65;hpb=bc1e703ab2d257b450fe6eb3fe0fe5333783bc69;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..9e4290eba2 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 @@ -22,11 +19,13 @@ import com.google.common.util.concurrent.ListenableFuture; * @param * Type of data (payload), which represents data payload */ +@Deprecated(forRemoval = true) 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 +39,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 +52,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.