public void onVoteResponse(VoteResponse response) {

    handleLargerTerm(response.getTerm());

    // If you are not Candidate, better to quit...
    if (this.role != Roles.Candidate) {
      return;
    }

    if (response.getVoteDecision() == VoteDecision.GRANTED) {
      this.voteGrantFrom.add(response.getCandidateId());

      if (this.voteGrantFrom.size() > (servers.size() / 2)) {
        onTransition(Roles.Leader);
      }
    }
  }