public override void ApplyTo(RaftLogShipper raftLogShipper, LeaderContext leaderContext) { if (raftLogShipper.Identity().Equals(Target)) { raftLogShipper.OnMatch(NewMatchIndex, leaderContext); } }
public override void ApplyTo(RaftLogShipper raftLogShipper, LeaderContext leaderContext) { if (raftLogShipper.Identity().Equals(Target)) { raftLogShipper.OnMismatch(LastRemoteAppendIndex, leaderContext); } }
public override void ApplyTo(RaftLogShipper raftLogShipper, LeaderContext leaderContext) { raftLogShipper.OnCommitUpdate(leaderContext); }
public abstract void ApplyTo(RaftLogShipper raftLogShipper, LeaderContext leaderContext);
public override void ApplyTo(RaftLogShipper raftLogShipper, LeaderContext leaderContext) { raftLogShipper.OnNewEntries(PrevLogIndex, PrevLogTerm, NewLogEntries, leaderContext); }