Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Bug 1819 - Moved bundle up in features.xml to avoid exception in log Change...
[controller.git]
/
opendaylight
/
md-sal
/
sal-akka-raft
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
raft
/
FollowerLogInformation.java
diff --git
a/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/FollowerLogInformation.java
b/opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/FollowerLogInformation.java
index 5f185cbb9c872efe200522c3b93b554623157dd7..f3de9835385eb0880bb567402f5bb493f8ad3a76 100644
(file)
--- a/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/FollowerLogInformation.java
+++ b/
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/FollowerLogInformation.java
@@
-21,12
+21,26
@@
public interface FollowerLogInformation {
*/
public long incrNextIndex();
*/
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();
/**
* 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
/**
* The identifier of the follower
* This could simply be the url of the remote actor