01be1638ea8a313bd34564aeef0f97b368e0fcc0
Files Diff
- Added: 5
- Removed: 8
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 4 | ||
Change Parameter Type eventLoop : EventLoop to executor : ExecutorService in method protected getThread(executor ExecutorService) : CopycatThread in class net.kuujo.copycat.util.concurrent.SingleThreadContext | From | To | |
Change Parameter Type parent : Executor to parent : ExecutorService in method public OrderedExecutor(parent ExecutorService) in class net.kuujo.copycat.util.concurrent.OrderedExecutor | From | To | |
Change Parameter Type context : Context to serializer : Alleycat in method public RaftServerState(memberId int, log Log, stateMachine StateMachine, members Members, serializer Alleycat) in class net.kuujo.copycat.raft.state.RaftServerState | From | To | |
Change Parameter Type context : Context to serializer : Alleycat in method public RaftClientState(members Members, serializer Alleycat) in class net.kuujo.copycat.raft.state.RaftClientState | From | To | |
Move Attribute | 1 | ||
Move Attribute private context : Context from class net.kuujo.copycat.raft.protocol.NettyServer to private context : Context from class net.kuujo.copycat.raft.protocol.NettyServer.ListenerHolder | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class net.kuujo.copycat.util.NettyContext moved and renamed to net.kuujo.copycat.util.concurrent.SingleThreadContext | From | To | |
Move Class | 1 | ||
Move Class net.kuujo.copycat.util.OrderedExecutor moved to net.kuujo.copycat.util.concurrent.OrderedExecutor | From | To | |
Rename Attribute | 1 | ||
Rename Attribute eventLoop : EventLoop to executor : ScheduledExecutorService in class net.kuujo.copycat.util.concurrent.SingleThreadContext | From | To | |
Extract Variable | 2 | ||
Extract Variable clientId : int in method public RaftClientState(members Members, serializer Alleycat) from class net.kuujo.copycat.raft.state.RaftClientState | From | To | |
Extract Variable request : Request in method package handleRequest(buffer ByteBuf) : void from class net.kuujo.copycat.raft.protocol.NettyConnection | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type listener : ConnectionListener to listener : ListenerHolder in class net.kuujo.copycat.raft.protocol.NettyServer | From | To | |
Change Attribute Type parent : Executor to parent : ExecutorService in class net.kuujo.copycat.util.concurrent.OrderedExecutor | From | To | |
Change Attribute Type eventLoop : EventLoop to executor : ScheduledExecutorService in class net.kuujo.copycat.util.concurrent.SingleThreadContext | From | To | |
Rename Parameter | 4 | ||
Rename Parameter context : Context to serializer : Alleycat in method public RaftServerState(memberId int, log Log, stateMachine StateMachine, members Members, serializer Alleycat) in class net.kuujo.copycat.raft.state.RaftServerState | From | To | |
Rename Parameter eventLoop : EventLoop to executor : ExecutorService in method protected getThread(executor ExecutorService) : CopycatThread in class net.kuujo.copycat.util.concurrent.SingleThreadContext | From | To | |
Rename Parameter context : Context to serializer : Alleycat in method public RaftClientState(members Members, serializer Alleycat) in class net.kuujo.copycat.raft.state.RaftClientState | From | To | |
Rename Parameter request : ByteBuf to buffer : ByteBuf in method package handleRequest(buffer ByteBuf) : void in class net.kuujo.copycat.raft.protocol.NettyConnection | From | To |