78fed359ff75ca5c80559c8355f329b618af0b33
Files Diff
- Added: 7
- Removed: 3
- Renamed: 0
- Modified: 33
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 2 | ||
Move And Inline Method public orderedFuture(future CompletableFuture<T>, orderedExecutor Executor, threadPoolExecutor Executor) : CompletableFuture<T> moved from class io.atomix.utils.concurrent.Futures to class io.atomix.core.lock.impl.DistributedLockProxy & inlined to public unlock() : CompletableFuture<Void> | From | To | |
Move And Inline Method public orderedFuture(future CompletableFuture<T>, orderedExecutor Executor, threadPoolExecutor Executor) : CompletableFuture<T> moved from class io.atomix.utils.concurrent.Futures to class io.atomix.core.lock.impl.DistributedLockProxy & inlined to public lock() : CompletableFuture<Version> | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type executor : Executor to context : ThreadContext in method public BlockingAwareSessionClient(delegate SessionClient, context ThreadContext) in class io.atomix.primitive.client.impl.BlockingAwareSessionClient | From | To | |
Change Parameter Type scheduler : Scheduler to context : ThreadContext in method public RecoveringSessionClient(clientId String, partitionId PartitionId, name String, primitiveType PrimitiveType, proxyFactory Supplier<SessionClient>, context ThreadContext) in class io.atomix.primitive.client.impl.RecoveringSessionClient | From | To | |
Rename Class | 3 | ||
Rename Class io.atomix.utils.concurrent.BlockingAwareFuture renamed to io.atomix.utils.concurrent.AtomixFuture | From | To | |
Rename Class io.atomix.utils.concurrent.ThreadPoolContextFactory renamed to io.atomix.utils.concurrent.BlockingAwareThreadPoolContextFactory | From | To | |
Rename Class io.atomix.utils.concurrent.SingleThreadContextFactory renamed to io.atomix.utils.concurrent.BlockingAwareSingleThreadContextFactory | From | To | |
Extract Superclass | 1 | ||
Extract Superclass io.atomix.utils.concurrent.AbstractThreadContext from classes [io.atomix.utils.concurrent.SingleThreadContext, io.atomix.utils.concurrent.ThreadPoolContext] | From | To | |
Rename Attribute | 3 | ||
Rename Attribute scheduledFuture : ScheduledFuture<?> to scheduled : Scheduled in class io.atomix.core.lock.impl.DistributedLockProxy.LockAttempt | From | To | |
Rename Attribute executor : Executor to context : ThreadContext in class io.atomix.primitive.client.impl.BlockingAwareSessionClient | From | To | |
Rename Attribute scheduler : Scheduler to context : ThreadContext in class io.atomix.primitive.client.impl.RecoveringSessionClient | From | To | |
Extract Variable | 2 | ||
Extract Variable context : ThreadContext in method public build() : SessionClient from class io.atomix.protocols.raft.impl.DefaultRaftClient.sessionBuilder | From | To | |
Extract Variable context : ThreadContext in method public build() : SessionClient from class io.atomix.protocols.backup.PrimaryBackupClient.sessionBuilder | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type scheduler : Scheduler to context : ThreadContext in class io.atomix.primitive.client.impl.RecoveringSessionClient | From | To | |
Change Attribute Type scheduledFuture : ScheduledFuture<?> to scheduled : Scheduled in class io.atomix.core.lock.impl.DistributedLockProxy.LockAttempt | From | To | |
Change Attribute Type executor : Executor to context : ThreadContext in class io.atomix.primitive.client.impl.BlockingAwareSessionClient | From | To | |
Rename Parameter | 2 | ||
Rename Parameter scheduler : Scheduler to context : ThreadContext in method public RecoveringSessionClient(clientId String, partitionId PartitionId, name String, primitiveType PrimitiveType, proxyFactory Supplier<SessionClient>, context ThreadContext) in class io.atomix.primitive.client.impl.RecoveringSessionClient | From | To | |
Rename Parameter executor : Executor to context : ThreadContext in method public BlockingAwareSessionClient(delegate SessionClient, context ThreadContext) in class io.atomix.primitive.client.impl.BlockingAwareSessionClient | From | To |