/** * If success is true, matchIndex should be set to mnIndex. If success is false, nextIndex should be set to * mnIndex. */ public void appendEntryReply(Message message, int fromMemberId, int term, int mnIndex, boolean success) throws InterruptedException, GondolaException { notImplemented(message, fromMemberId); }
public void pingReply(Message message, int fromMemberId, long timestamp) throws Exception { notImplemented(message, fromMemberId); }
/** * If success is true, matchIndex should be set to mnIndex. * If success is false, nextIndex should be set to mnIndex. */ public void appendEntryReply(Message message, int fromMemberId, int term, int mnIndex, boolean success) throws Exception { notImplemented(message, fromMemberId); }
public void requestVoteReply(Message message, int fromMemberId, int term, boolean isPrevote, boolean voteGranted) throws Exception { notImplemented(message, fromMemberId); } }
public void requestVoteReply(Message message, int fromMemberId, int term, boolean isPrevote, boolean voteGranted) throws InterruptedException, GondolaException { notImplemented(message, fromMemberId); } }
public void requestVoteRequest(Message message, int fromMemberId, int term, boolean isPrevote, Rid lastLogRid) throws Exception { notImplemented(message, fromMemberId); }
public void requestVoteRequest(Message message, int fromMemberId, int term, boolean isPrevote, Rid lastLogRid) throws InterruptedException, GondolaException { notImplemented(message, fromMemberId); }
/** * This method is called for every command that has been batched in this message. Do not reuse 'message' to create a * reply since it will still be in use until all batches are handled. * * @param lastCommand is true if there are no more commands in the message. * @return true to get the next batch (if any); false to stop getting more batches. */ public boolean appendEntryRequest(Message message, int fromMemberId, int term, int prevLogTerm, int prevLogIndex, int commitIndex, boolean isHeartbeat, int entryTerm, byte[] buffer, int bufferOffset, int bufferLen, boolean lastCommand) throws InterruptedException, GondolaException { notImplemented(message, fromMemberId); return false; }
public void pingRequest(Message message, int fromMemberId, long timestamp) throws Exception { notImplemented(message, fromMemberId); }
/** * This method is called for every command that has been batched in this message. * Do not reuse 'message' to create a reply since it will still be in use until all batches are handled. * * @param lastCommand is true if there are no more commands in the message. * @return true to get the next batch (if any); false to stop getting more batches. */ public boolean appendEntryRequest(Message message, int fromMemberId, int term, int prevLogTerm, int prevLogIndex, int commitIndex, boolean isHeartbeat, int entryTerm, byte[] buffer, int bufferOffset, int bufferLen, boolean lastCommand) throws Exception { notImplemented(message, fromMemberId); return false; }