import org.opendaylight.controller.cluster.raft.base.messages.ApplySnapshot;
+/**
+ * Interface for a snapshot phase state.
+ *
+ * @author Moiz Raja
+ * @author Thomas Pantelis
+ */
public interface SnapshotState {
/**
* @return true when a snapshot is being captured
* Commit the snapshot by trimming the log
*
* @param sequenceNumber
+ * @param timeStamp
*/
- void commit(long sequenceNumber);
+ void commit(long sequenceNumber, long timeStamp);
/**
* Rollback the snapshot