Bug-2301 - Clustering:Snapshots need not be stored in in-mem ReplicatedLog for Instal...
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / FollowerLogInformation.java
index f3de9835385eb0880bb567402f5bb493f8ad3a76..2c4304d404a57ca919cb0c71f274588c6654f6e5 100644 (file)
@@ -61,5 +61,16 @@ public interface FollowerLogInformation {
      */
     public AtomicLong getMatchIndex();
 
+    /**
+     * Checks if the follower is active by comparing the last updated with the duration
+     * @return boolean
+     */
+    public boolean isFollowerActive();
+
+    /**
+     * restarts the timeout clock of the follower
+     */
+    public void markFollowerActive();
+
 
 }