eafd8b7e2ce878610f1798efd2ac6225584d52f2
Files Diff
- Added: 1
- Removed: 1
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 2 | ||
Push Down Method public serializer() : Serializer from class net.kuujo.copycat.util.concurrent.Context to public serializer() : Serializer from class net.kuujo.copycat.util.concurrent.SingleThreadContext | From | To | |
Push Down Method public serializer() : Serializer from class net.kuujo.copycat.util.concurrent.Context to public serializer() : Serializer from class net.kuujo.copycat.util.concurrent.ThreadPoolContext | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type callback : Callable<T> to callback : Supplier<T> in method public execute(callback Supplier<T>) : CompletableFuture<T> in class net.kuujo.copycat.manager.ResourceStateMachineExecutor | From | To | |
Change Parameter Type callback : Callable<T> to callback : Supplier<T> in method public execute(callback Supplier<T>) : CompletableFuture<T> in class net.kuujo.copycat.raft.state.ServerStateMachineExecutor | From | To | |
Rename Variable | 1 | ||
Rename Variable e : RuntimeException to t : Throwable in method private wrapRunnable(runnable Runnable) : Runnable in class net.kuujo.copycat.util.concurrent.SingleThreadContext | From | To | |
Push Down Attribute | 2 | ||
Push Down Attribute private serializer : Serializer from class net.kuujo.copycat.util.concurrent.Context to private serializer : Serializer from class net.kuujo.copycat.util.concurrent.SingleThreadContext | From | To | |
Push Down Attribute private serializer : Serializer from class net.kuujo.copycat.util.concurrent.Context to private serializer : Serializer from class net.kuujo.copycat.util.concurrent.ThreadPoolContext | From | To | |
Move Class | 1 | ||
Move Class net.kuujo.copycat.util.Scheduled moved to net.kuujo.copycat.util.concurrent.Scheduled | From | To | |
Change Variable Type | 1 | ||
Change Variable Type e : RuntimeException to t : Throwable in method private wrapRunnable(runnable Runnable) : Runnable in class net.kuujo.copycat.util.concurrent.SingleThreadContext | From | To | |
Extract Method | 2 | ||
Extract Method public executor() : Executor extracted from public execute(commit Commit<T>) : CompletableFuture<U> in class net.kuujo.copycat.raft.state.ServerStateMachineExecutor | From | To | |
Extract Method public executor() : Executor extracted from public execute(commit Commit<T>) : CompletableFuture<U> in class net.kuujo.copycat.manager.ResourceStateMachineExecutor | From | To | |
Change Attribute Type | 6 | ||
Change Attribute Type joinFuture : ScheduledFuture<?> to joinFuture : Scheduled in class net.kuujo.copycat.raft.state.JoinState | From | To | |
Change Attribute Type currentTimer : ScheduledFuture<?> to currentTimer : Scheduled in class net.kuujo.copycat.raft.state.CandidateState | From | To | |
Change Attribute Type keepAliveFuture : ScheduledFuture<?> to keepAliveFuture : Scheduled in class net.kuujo.copycat.raft.session.ClientSession | From | To | |
Change Attribute Type heartbeatTimer : ScheduledFuture<?> to heartbeatTimer : Scheduled in class net.kuujo.copycat.raft.state.FollowerState | From | To | |
Change Attribute Type currentTimer : ScheduledFuture<?> to currentTimer : Scheduled in class net.kuujo.copycat.raft.state.LeaderState | From | To | |
Change Attribute Type leaveFuture : ScheduledFuture<?> to leaveFuture : Scheduled in class net.kuujo.copycat.raft.state.LeaveState | From | To |