56124237bb221d10c6f6ac5a35214157b96645b2
Files Diff
- Added: 3
- Removed: 2
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public cancelled(mayInterruptIfRunning boolean) : void renamed to public cancel(mayInterruptIfRunning boolean) : void in class org.neo4j.kernel.impl.scheduler.ScheduledTask | From | To | |
Rename Method public run() : void renamed to package submitTo(pools ThreadPoolManager) : void in class org.neo4j.kernel.impl.scheduler.ScheduledTask | From | To | |
Pull Up Method | 1 | ||
Pull Up Method package ScheduledJobHandle(job ScheduledFuture<?>, scheduledTask ScheduledTask) from class org.neo4j.kernel.impl.scheduler.ScheduledJobHandle to package PooledJobHandle(job Future<?>, registryKey Object, registry ConcurrentHashMap<Object,Future<?>>) from class org.neo4j.kernel.impl.scheduler.PooledJobHandle | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type job : ScheduledFuture<?> to job : Future<?> in method package PooledJobHandle(job Future<?>, registryKey Object, registry ConcurrentHashMap<Object,Future<?>>) in class org.neo4j.kernel.impl.scheduler.PooledJobHandle | From | To | |
Inline Method | 1 | ||
Inline Method private getThreadPool(group Group) : ThreadPool inlined to public schedule(group Group, job Runnable) : JobHandle in class org.neo4j.kernel.impl.scheduler.CentralJobScheduler | From | To | |
Change Return Type | 1 | ||
Change Return Type JobScheduler.JobHandle to JobHandle in method public submit(job Runnable) : JobHandle in class org.neo4j.kernel.impl.scheduler.ThreadPool | From | To | |
Move Attribute | 1 | ||
Move Attribute private poolBuilder : Function<Group,ThreadPool> from class org.neo4j.kernel.impl.scheduler.CentralJobScheduler to private poolBuilder : Function<Group,ThreadPool> from class org.neo4j.kernel.impl.scheduler.ThreadPoolManager | From | To | |
Change Variable Type | 1 | ||
Change Variable Type handle : JobScheduler.JobHandle to handle : JobHandle in method public cancel(mayInterruptIfRunning boolean) : void in class org.neo4j.kernel.impl.scheduler.ScheduledTask | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type pools : ConcurrentHashMap<Group,ThreadPool> to pools : ThreadPoolManager in class org.neo4j.kernel.impl.scheduler.CentralJobScheduler | From | To | |
Change Attribute Type latestHandle : JobScheduler.JobHandle to latestHandle : JobHandle in class org.neo4j.kernel.impl.scheduler.ScheduledTask | From | To | |
Rename Parameter | 2 | ||
Rename Parameter timeUnit : TimeUnit to unit : TimeUnit in method public schedule(group Group, runnable Runnable, initialDelay long, unit TimeUnit) : JobHandle in class org.neo4j.kernel.impl.scheduler.CentralJobScheduler | From | To | |
Rename Parameter timeUnit : TimeUnit to unit : TimeUnit in method public scheduleRecurring(group Group, runnable Runnable, initialDelay long, period long, unit TimeUnit) : JobHandle in class org.neo4j.kernel.impl.scheduler.CentralJobScheduler | From | To |