docs: public void toFollower(int term) {
          role = RaftRole.FOLLOWER;
          leader = null;
          preCandidateState = null;
          leaderState = null;
          candidateState = null;
          this.term = term;
      }