Fixup checkstyle
[controller.git] / opendaylight / md-sal / sal-common-api / src / main / java / org / opendaylight / controller / md / sal / common / api / data / AsyncConfigurationCommitCoordinator.java
index 6d669ab9dfa481809214f8fe1b07cc9f4472e7a4..48be277b7efccf96fbd84757b35b1358fbbc1dc0 100644 (file)
@@ -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 <P>
  *            Type of path (subtree identifier), which represents location in
@@ -20,18 +20,16 @@ import org.opendaylight.yangtools.concepts.Path;
  * @param <D>
  *            Type of data (payload), which represents data payload
  */
+@Deprecated
 public interface AsyncConfigurationCommitCoordinator<P extends Path<P>, D> {
-
     /**
-     * Register configuration commit handler for particular subtree
-     *
-     * Configuration commit handler is invoked for all write transactions
-     * which modifies <code>subtree</code>
+     * Register configuration commit handler for particular subtree. Configuration commit handler is invoked for all
+     * write transactions which modifies <code>subtree</code>
      *
      * @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.
      */
     <C extends AsyncConfigurationCommitCohort<P, D>> ObjectRegistration<C> registerConfigurationCommitHandler(
             P subtree, C commitHandler);