@Test public void majorityQuorumSize() throws Exception { raftServer[0].majorityQuorumSize(); }
int majorityQuorumSize() { int f = fullQuorumSize() / 2 + 1; return f; }
Server implements RemoteRaftServer { int majorityQuorumSize() { int f = fullQuorumSize() / 2 + 1; return f; } }
Server implements RemoteRaftServer { int majorityQuorumSize() { int f = fullQuorumSize() / 2 + 1; return f; } Server(StateMachineApplier applier); }
Server implements RemoteRaftServer { int majorityQuorumSize() { int f = fullQuorumSize() / 2 + 1; return f; } Server(StateMachineApplier applier); UUID getMyServerID(); void start(); void stop(); int appendEntries(
            int term,
            UUID leader,
            int prevLogIndex,
            int prevLogTerm,
            List<LogEntry> entries,
            int leaderCommit); int requestVote(int term, UUID candidate, int lastLogIndex, int lastLogTerm); Object applyToStateMachine(Object operation); void addServer(UUID id, RemoteRaftServer server); }
Server implements RemoteRaftServer { int majorityQuorumSize() { int f = fullQuorumSize() / 2 + 1; return f; } Server(StateMachineApplier applier); UUID getMyServerID(); void start(); void stop(); int appendEntries(
            int term,
            UUID leader,
            int prevLogIndex,
            int prevLogTerm,
            List<LogEntry> entries,
            int leaderCommit); int requestVote(int term, UUID candidate, int lastLogIndex, int lastLogTerm); Object applyToStateMachine(Object operation); void addServer(UUID id, RemoteRaftServer server); static final int LEADER_HEARTBEAT_TIMEOUT; }