@Test public void getCurrentLeader() throws Exception { raftServer[0].getCurrentLeader(); }
RemoteRaftServer getCurrentLeader() { return getServer(vState.getCurrentLeader()); }
Server implements RemoteRaftServer { RemoteRaftServer getCurrentLeader() { return getServer(vState.getCurrentLeader()); } }
Server implements RemoteRaftServer { RemoteRaftServer getCurrentLeader() { return getServer(vState.getCurrentLeader()); } Server(StateMachineApplier applier); }
Server implements RemoteRaftServer { RemoteRaftServer getCurrentLeader() { return getServer(vState.getCurrentLeader()); } 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 { RemoteRaftServer getCurrentLeader() { return getServer(vState.getCurrentLeader()); } 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; }