package org.opendaylight.controller.cluster.raft;
+import org.opendaylight.controller.cluster.raft.base.messages.ApplySnapshot;
import org.opendaylight.controller.cluster.raft.behaviors.RaftActorBehavior;
public interface SnapshotState {
/**
- * Should return true when a snapshot is being captured
- * @return
+ * @return true when a snapshot is being captured
*/
boolean isCapturing();
*
* @param snapshot the Snapshot to apply.
*/
- void apply(Snapshot snapshot);
+ void apply(ApplySnapshot snapshot);
/**
* Persist the snapshot