Test RaftActor using a simple program
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / FollowerLogInformation.java
index 5f185cbb9c872efe200522c3b93b554623157dd7..f3de9835385eb0880bb567402f5bb493f8ad3a76 100644 (file)
@@ -21,12 +21,26 @@ public interface FollowerLogInformation {
      */
     public long incrNextIndex();
 
+    /**
+     * Decrement the value of the nextIndex
+     * @return
+     */
+    public long decrNextIndex();
+
+    /**
+     *
+     * @param nextIndex
+     */
+    void setNextIndex(long nextIndex);
+
     /**
      * Increment the value of the matchIndex
      * @return
      */
     public long incrMatchIndex();
 
+    public void setMatchIndex(long matchIndex);
+
     /**
      * The identifier of the follower
      * This could simply be the url of the remote actor