Remove use of {String,UUID}Identifier
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / ShardDataTreeCohort.java
index 213e36a570ce1c445e11f8d6e175b37abf9a7388..47876123cfa7b716edae5b72e74ee50c7faacd12 100644 (file)
@@ -10,14 +10,19 @@ package org.opendaylight.controller.cluster.datastore;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.util.concurrent.ListenableFuture;
 import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidateTip;
+import org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeModification;
 
 public abstract class ShardDataTreeCohort {
     ShardDataTreeCohort() {
         // Prevent foreign instantiation
     }
 
+    // FIXME: This leaks internal state generated in preCommit,
+    // should be result of canCommit
     abstract DataTreeCandidateTip getCandidate();
+    abstract DataTreeModification getDataTreeModification();
 
+    // FIXME: Should return rebased DataTreeCandidateTip
     @VisibleForTesting
     public abstract ListenableFuture<Boolean> canCommit();
     @VisibleForTesting