9e7b041d29ab707dbeefa42366006fa1f0eb8256
Files Diff
- Added: 3
- Removed: 3
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Push Down Method | 6 | ||
| Push Down Method public onClose(session PrimitiveSession) : void from class io.atomix.core.queue.impl.WorkQueueService to public onClose(session PrimitiveSession) : void from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Push Down Method private evictWorker(sessionId long) : void from class io.atomix.core.queue.impl.WorkQueueService to private evictWorker(sessionId long) : void from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Push Down Method public backup(writer BackupOutput) : void from class io.atomix.core.queue.impl.WorkQueueService to public backup(writer BackupOutput) : void from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Push Down Method public serializer() : Serializer from class io.atomix.core.queue.impl.WorkQueueService to public serializer() : Serializer from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Push Down Method public restore(reader BackupInput) : void from class io.atomix.core.queue.impl.WorkQueueService to public restore(reader BackupInput) : void from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Push Down Method public onExpire(session PrimitiveSession) : void from class io.atomix.core.queue.impl.WorkQueueService to public onExpire(session PrimitiveSession) : void from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Extract Subclass | 1 | ||
| Extract Subclass io.atomix.core.queue.impl.DefaultWorkQueueService from class io.atomix.core.queue.impl.WorkQueueService | From | To | |
| Move Method | 3 | ||
| Move Method protected clear(commit Commit<Void>) : void from class io.atomix.core.queue.impl.WorkQueueService to public clear() : void from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Move Method protected serializer() : Serializer from class io.atomix.core.queue.impl.WorkQueueProxy to public serializer() : Serializer from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Move Method protected stats(commit Commit<Void>) : WorkQueueStats from class io.atomix.core.queue.impl.WorkQueueService to public stats() : WorkQueueStats from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Push Down Attribute | 4 | ||
| Push Down Attribute private assignments : Map<String,TaskAssignment> from class io.atomix.core.queue.impl.WorkQueueService to private assignments : Map<String,TaskAssignment> from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Push Down Attribute private unassignedTasks : Queue<Task<byte[]>> from class io.atomix.core.queue.impl.WorkQueueService to private unassignedTasks : Queue<Task<byte[]>> from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Push Down Attribute private totalCompleted : AtomicLong from class io.atomix.core.queue.impl.WorkQueueService to private totalCompleted : AtomicLong from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Push Down Attribute private SERIALIZER : Serializer from class io.atomix.core.queue.impl.WorkQueueService to private SERIALIZER : Serializer from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private SERIALIZER : Serializer from class io.atomix.core.queue.impl.WorkQueueProxy to private SERIALIZER : Serializer from class io.atomix.core.queue.impl.DefaultWorkQueueService | From | To | |
| Rename Class | 1 | ||
| Rename Class io.atomix.core.queue.impl.WorkQueueServiceTest renamed to io.atomix.core.queue.impl.DefaultWorkQueueServiceTest | From | To | |
| Move Class | 1 | ||
| Move Class io.atomix.core.queue.impl.WorkQueueService.TaskAssignment moved to io.atomix.core.queue.impl.DefaultWorkQueueService.TaskAssignment | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type service : WorkQueueService to service : DefaultWorkQueueService in method public testSnapshot() : void in class io.atomix.core.queue.impl.DefaultWorkQueueServiceTest | From | To |