Bug:3260-Recovery misses flows installed on single node
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / main / java / org / opendaylight / controller / cluster / raft / ReplicatedLog.java
index 8388eaf7436f251c63aa277024bf886f803153cb..0ad1df3c33bb6433e5ddf0afca46f5f4920d2882 100644 (file)
@@ -181,4 +181,10 @@ public interface ReplicatedLog {
      */
     int dataSize();
 
+    /**
+     * We decide if snapshot need to be captured based on the count/memory consumed.
+     * @param replicatedLogEntry
+     */
+    void captureSnapshotIfReady(ReplicatedLogEntry replicatedLogEntry);
+
 }