+ *
+ * @return the new value of matchIndex
+ */
+ long incrMatchIndex();
+
+ /**
+ * Sets the index of the highest log entry for this follower.
+ *
+ * @param matchIndex
+ * @return true if the new index differed from the current index and the current index was updated, false
+ * otherwise.
+ */
+ boolean setMatchIndex(long matchIndex);
+
+ /**
+ *
+ * @return the identifier of the follower. This could simply be the url of the remote actor.
+ */
+ String getId();
+
+ /**
+ * @return index of the next log entry to send to that server (initialized to leader last log index + 1)
+ */
+ long getNextIndex();
+
+ /**
+ * @return index of highest log entry known to be replicated on server (initialized to 0, increases monotonically)