+ *
+ * @param raftVersion the raft version.
+ */
+ void setRaftVersion(short raftVersion);
+
+ /**
+ * Returns the LeaderInstallSnapshotState for the in progress install snapshot.
+ *
+ * @return the LeaderInstallSnapshotState if a snapshot install is in progress, null otherwise.
+ */
+ @Nullable
+ LeaderInstallSnapshotState getInstallSnapshotState();
+
+ /**
+ * Sets the LeaderInstallSnapshotState when an install snapshot is initiated.
+ *
+ * @param state the LeaderInstallSnapshotState
+ */
+ void setLeaderInstallSnapshotState(@Nonnull LeaderInstallSnapshotState state);
+
+ /**
+ * Clears the LeaderInstallSnapshotState when an install snapshot is complete.