|
Change Parameter Type member : Member to memberId : int in method public ServerContext(memberId int, members Members, transport Transport, log Log, stateMachine StateMachine, serializer Alleycat) in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Parameter Type context : RaftServerState to context : ServerContext in method protected ActiveState(context ServerContext) in class net.kuujo.copycat.raft.server.state.ActiveState |
From |
To |
|
Change Parameter Type request : PublishRequest to request : JoinRequest in method protected join(request JoinRequest) : CompletableFuture<JoinResponse> in class net.kuujo.copycat.raft.server.state.InactiveState |
From |
To |
|
Change Parameter Type context : RaftServerState to context : ServerContext in method public CandidateState(context ServerContext) in class net.kuujo.copycat.raft.server.state.CandidateState |
From |
To |
|
Change Parameter Type context : RaftServerState to context : ServerContext in method public InactiveState(context ServerContext) in class net.kuujo.copycat.raft.server.state.InactiveState |
From |
To |
|
Change Parameter Type context : RaftServerState to context : ServerContext in method protected AbstractState(context ServerContext) in class net.kuujo.copycat.raft.server.state.AbstractState |
From |
To |
|
Change Parameter Type request : PublishRequest to request : JoinRequest in method protected abstract join(request JoinRequest) : CompletableFuture<JoinResponse> in class net.kuujo.copycat.raft.server.state.AbstractState |
From |
To |
|
Change Parameter Type memberId : int to session : Session in method package SessionManager(session Session) in class net.kuujo.copycat.raft.server.state.SessionManager |
From |
To |
|
Change Parameter Type client : RaftClientState to context : ClientContext in method protected RaftClient(context ClientContext) in class net.kuujo.copycat.raft.client.RaftClient |
From |
To |
|
Change Parameter Type context : RaftServerState to context : ServerContext in method public FollowerState(context ServerContext) in class net.kuujo.copycat.raft.server.state.FollowerState |
From |
To |
|
Change Parameter Type id : int to member : MemberState in method private commitTime(member MemberState) : void in class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Change Parameter Type context : RaftServerState to context : ServerContext in method public LeaderState(context ServerContext) in class net.kuujo.copycat.raft.server.state.LeaderState |
From |
To |
|
Change Parameter Type context : RaftServerState to context : ServerContext in method private RaftServer(context ServerContext) in class net.kuujo.copycat.raft.server.RaftServer |
From |
To |
|
Change Parameter Type context : RaftServerState to context : ServerContext in method public PassiveState(context ServerContext) in class net.kuujo.copycat.raft.server.state.PassiveState |
From |
To |
|
Move Method private hasMoreEntries(member MemberState) : boolean from class net.kuujo.copycat.raft.server.state.FollowerState to private hasMoreEntries(member MemberState) : boolean from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Move Method private resetMatchIndex(member MemberState, response AppendResponse) : void from class net.kuujo.copycat.raft.server.state.FollowerState to private resetMatchIndex(member MemberState, response AppendResponse) : void from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Move Method public withMember(member Member) : Builder from class net.kuujo.copycat.raft.protocol.RegisterRequest.Builder to public withMember(member Member) : Builder from class net.kuujo.copycat.raft.protocol.JoinRequest.Builder |
From |
To |
|
Move Method private emptyCommit() : void from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator.Replica to private emptyCommit(member MemberState) : void from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Move Method private commit() : void from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator.Replica to private commit(member MemberState) : void from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Move Method private updateNextIndex(member MemberState) : void from class net.kuujo.copycat.raft.server.state.FollowerState to private updateNextIndex(member MemberState) : void from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Move Method private commit(member MemberState, prevIndex long, prevEntry RaftEntry, entries List<RaftEntry>) : void from class net.kuujo.copycat.raft.server.state.FollowerState to private commit(member MemberState, prevIndex long, prevEntry RaftEntry, entries List<RaftEntry>) : void from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Move Method public update(timestamp long, timeout long) : boolean from class net.kuujo.copycat.raft.server.state.MemberState to private update(index long, timestamp long) : boolean from class net.kuujo.copycat.raft.server.state.ServerContext.SessionContext |
From |
To |
|
Move Method private resetNextIndex(member MemberState) : void from class net.kuujo.copycat.raft.server.state.FollowerState to private resetNextIndex(member MemberState) : void from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Move Method public getMember() : Member from class net.kuujo.copycat.raft.server.log.RegisterEntry to package getMember() : Member from class net.kuujo.copycat.raft.server.state.ClusterState |
From |
To |
|
Move Method private getEntries(prevIndex long) : List<RaftEntry> from class net.kuujo.copycat.raft.server.state.FollowerState to private getEntries(member MemberState, prevIndex long) : List<RaftEntry> from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Move Method private updateMatchIndex(member MemberState, response AppendResponse) : void from class net.kuujo.copycat.raft.server.state.FollowerState to private updateMatchIndex(member MemberState, response AppendResponse) : void from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Move Method private getPrevIndex(member MemberState) : long from class net.kuujo.copycat.raft.server.state.FollowerState to private getPrevIndex(member MemberState) : long from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Move Method private getPrevEntry(prevIndex long) : RaftEntry from class net.kuujo.copycat.raft.server.state.FollowerState to private getPrevEntry(member MemberState, prevIndex long) : RaftEntry from class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Change Return Type RaftServerState to ServerContext in method public setElectionTimeout(electionTimeout long) : ServerContext in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Return Type RaftClientState to ClientContext in method protected setRequest(request long) : ClientContext in class net.kuujo.copycat.raft.client.state.ClientContext |
From |
To |
|
Change Return Type RaftClientState to ClientContext in method protected setSessionId(sessionId long) : ClientContext in class net.kuujo.copycat.raft.client.state.ClientContext |
From |
To |
|
Change Return Type int to Member in method public getMember() : Member in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Return Type Servers to List<Copycat> in method private createCopycats(nodes int) : List<Copycat> in class net.kuujo.copycat.atomic.AsyncReferenceTest |
From |
To |
|
Change Return Type RaftClientState to ClientContext in method package setLeader(leader int) : ClientContext in class net.kuujo.copycat.raft.client.state.ClientContext |
From |
To |
|
Change Return Type RaftClientState to ClientContext in method package setTerm(term long) : ClientContext in class net.kuujo.copycat.raft.client.state.ClientContext |
From |
To |
|
Change Return Type RaftServerState to ServerContext in method package setGlobalIndex(globalIndex long) : ServerContext in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Return Type RaftClientState to ClientContext in method public setKeepAliveInterval(keepAliveInterval long) : ClientContext in class net.kuujo.copycat.raft.client.state.ClientContext |
From |
To |
|
Change Return Type int to Member in method public getLeader() : Member in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Return Type RaftServerState to ServerContext in method public setHeartbeatInterval(heartbeatInterval long) : ServerContext in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Return Type RaftClientState to ClientContext in method protected setResponse(response long) : ClientContext in class net.kuujo.copycat.raft.client.state.ClientContext |
From |
To |
|
Change Return Type RaftClientState to ClientContext in method protected setVersion(version long) : ClientContext in class net.kuujo.copycat.raft.client.state.ClientContext |
From |
To |
|
Change Return Type RaftServerState to ServerContext in method public setSessionTimeout(sessionTimeout long) : ServerContext in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Return Type CompletableFuture<PublishResponse> to CompletableFuture<JoinResponse> in method protected join(request JoinRequest) : CompletableFuture<JoinResponse> in class net.kuujo.copycat.raft.server.state.InactiveState |
From |
To |
|
Change Return Type RaftServerState to ServerContext in method package setCommitIndex(commitIndex long) : ServerContext in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Return Type SessionManager to ServerSession in method package unregisterSession(sessionId long) : ServerSession in class net.kuujo.copycat.raft.server.state.SessionManager |
From |
To |
|
Change Return Type RaftServerState to ServerContext in method package setLeader(leader int) : ServerContext in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Return Type ServerSession to Session in method package getSession(sessionId long) : Session in class net.kuujo.copycat.raft.server.state.SessionManager |
From |
To |
|
Change Return Type int to Member in method public getLeader() : Member in class net.kuujo.copycat.raft.client.state.ClientContext |
From |
To |
|
Change Return Type CompletableFuture<PublishResponse> to CompletableFuture<JoinResponse> in method protected abstract join(request JoinRequest) : CompletableFuture<JoinResponse> in class net.kuujo.copycat.raft.server.state.AbstractState |
From |
To |
|
Change Return Type RaftServerState to ServerContext in method package setTerm(term long) : ServerContext in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Return Type RaftServerState to ServerContext in method package setLastVotedFor(candidate int) : ServerContext in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Variable Type servers : Servers to servers : List<Copycat> in method public testChange() : void in class net.kuujo.copycat.atomic.AsyncReferenceTest |
From |
To |
|
Change Variable Type context : RaftServerState to context : ServerContext in method public build() : RaftServer in class net.kuujo.copycat.raft.server.RaftServer.Builder |
From |
To |
|
Change Variable Type member : Member to member : MemberState in method private sendPollRequests() : void in class net.kuujo.copycat.raft.server.state.FollowerState |
From |
To |
|
Change Variable Type servers : Servers to servers : List<Copycat> in method public testCompareAndSet() : void in class net.kuujo.copycat.atomic.AsyncReferenceTest |
From |
To |
|
Change Variable Type servers : Servers to servers : List<Copycat> in method public testSetGet() : void in class net.kuujo.copycat.atomic.AsyncReferenceTest |
From |
To |
|
Change Variable Type member : Member to member : MemberState in method private sendVoteRequests() : void in class net.kuujo.copycat.raft.server.state.CandidateState |
From |
To |
|
Change Attribute Type context : RaftServerState to context : ServerContext in class net.kuujo.copycat.raft.server.RaftServer |
From |
To |
|
Change Attribute Type members : SortedMap<Integer,MemberState> to members : List<MemberState> in class net.kuujo.copycat.raft.server.state.ClusterState |
From |
To |
|
Change Attribute Type context : RaftServerState to context : ServerContext in class net.kuujo.copycat.raft.server.state.AbstractState |
From |
To |
|
Change Attribute Type stateMachine : RaftState to stateMachine : StateMachine in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Change Attribute Type connection : UUID to connection : Connection in class net.kuujo.copycat.raft.server.state.ServerSession |
From |
To |
|
Change Attribute Type client : RaftClientState to context : ClientContext in class net.kuujo.copycat.raft.client.RaftClient |
From |
To |
|
Rename Parameter connection : UUID to connectionId : UUID in method package ServerSession(id long, connectionId UUID) in class net.kuujo.copycat.raft.server.state.ServerSession |
From |
To |
|
Rename Parameter memberId : int to session : Session in method package SessionManager(session Session) in class net.kuujo.copycat.raft.server.state.SessionManager |
From |
To |
|
Rename Parameter id : int to member : MemberState in method private commitTime(member MemberState) : void in class net.kuujo.copycat.raft.server.state.LeaderState.Replicator |
From |
To |
|
Rename Parameter timeout : long to index : long in method private update(index long, timestamp long) : boolean in class net.kuujo.copycat.raft.server.state.ServerContext.SessionContext |
From |
To |
|
Rename Parameter memberId : int to id : int in method package getMember(id int) : MemberState in class net.kuujo.copycat.raft.server.state.ClusterState |
From |
To |
|
Rename Parameter member : Member to memberId : int in method public ServerContext(memberId int, members Members, transport Transport, log Log, stateMachine StateMachine, serializer Alleycat) in class net.kuujo.copycat.raft.server.state.ServerContext |
From |
To |
|
Rename Parameter client : RaftClientState to context : ClientContext in method protected RaftClient(context ClientContext) in class net.kuujo.copycat.raft.client.RaftClient |
From |
To |
|
Rename Parameter activeNodes : int to nodes : int in method private createCopycats(nodes int) : List<Copycat> in class net.kuujo.copycat.atomic.AsyncReferenceTest |
From |
To |