X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-common-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fcommon%2Fapi%2Fdata%2FAsyncConfigurationCommitCoordinator.java;h=48be277b7efccf96fbd84757b35b1358fbbc1dc0;hp=6d669ab9dfa481809214f8fe1b07cc9f4472e7a4;hb=refs%2Fchanges%2F28%2F83828%2F2;hpb=bc1e703ab2d257b450fe6eb3fe0fe5333783bc69 diff --git a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncConfigurationCommitCoordinator.java b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncConfigurationCommitCoordinator.java index 6d669ab9df..48be277b7e 100644 --- a/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncConfigurationCommitCoordinator.java +++ b/opendaylight/md-sal/sal-common-api/src/main/java/org/opendaylight/controller/md/sal/common/api/data/AsyncConfigurationCommitCoordinator.java @@ -12,7 +12,7 @@ import org.opendaylight.yangtools.concepts.Path; /** * Three Phase Commit Coordinator with support of user-supplied commit cohorts - * which participates in three-phase commit protocols + * which participates in three-phase commit protocols. * * @param

* Type of path (subtree identifier), which represents location in @@ -20,18 +20,16 @@ import org.opendaylight.yangtools.concepts.Path; * @param * Type of data (payload), which represents data payload */ +@Deprecated public interface AsyncConfigurationCommitCoordinator

, D> { - /** - * Register configuration commit handler for particular subtree - * - * Configuration commit handler is invoked for all write transactions - * which modifies subtree + * Register configuration commit handler for particular subtree. Configuration commit handler is invoked for all + * write transactions which modifies subtree * * @param subtree Subtree which configuration commit handler is interested it * @param commitHandler Instance of user-provided commit handler * @return Registration object representing this registration. Invoking {@link ObjectRegistration#close()} - * will unregister configuration commit handler. + * will unregister configuration commit handler. */ > ObjectRegistration registerConfigurationCommitHandler( P subtree, C commitHandler);