import java.io.Serializable;
+/**
+ * Interface implemented by all requests exchanged in the Raft protocol.
+ */
public interface RaftRPC extends Serializable {
- public long getTerm();
+ /**
+ * Return the term in which this call is being made.
+ *
+ * @return The term ID
+ */
+ long getTerm();
}