d2b4618ba75272f843406fe58b86c53445597712
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type networkLocationCache : LoadingCache<HostAddress,NetworkLocation> to networkLocationCache : NetworkLocationCache in method public TopologyAwareNodeSelector(nodeManager NodeManager, nodeTaskMap NodeTaskMap, includeCoordinator boolean, doubleScheduling boolean, nodeMap Supplier<NodeMap>, minCandidates int, maxSplitsPerNode int, maxSplitsPerNodePerTaskWhenFull int, topologicalSplitCounters List<CounterStat>, networkLocationSegmentNames List<String>, networkLocationCache NetworkLocationCache) in class com.facebook.presto.execution.scheduler.TopologyAwareNodeSelector | From | To | |
| Move Attribute | 2 | ||
| Move Attribute public NEGATIVE_CACHE_DURATION : Duration from class com.facebook.presto.execution.scheduler.NodeScheduler to private NEGATIVE_CACHE_DURATION : Duration from class com.facebook.presto.execution.scheduler.NetworkLocationCache | From | To | |
| Move Attribute private log : Logger from class com.facebook.presto.execution.scheduler.NodeScheduler to private log : Logger from class com.facebook.presto.execution.scheduler.NetworkLocationCache | From | To | |
| Extract Class | 1 | ||
| Extract Class com.facebook.presto.execution.scheduler.NetworkLocationCache from class com.facebook.presto.execution.scheduler.NodeScheduler | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type location : NetworkLocation to location : Optional<NetworkLocation> in method public createNodeSelector(dataSourceName String) : NodeSelector in class com.facebook.presto.execution.scheduler.NodeScheduler | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type networkLocationCache : LoadingCache<HostAddress,NetworkLocation> to networkLocationCache : NetworkLocationCache in class com.facebook.presto.execution.scheduler.TopologyAwareNodeSelector | From | To | |
| Change Attribute Type networkLocationCache : LoadingCache<HostAddress,NetworkLocation> to networkLocationCache : NetworkLocationCache in class com.facebook.presto.execution.scheduler.NodeScheduler | From | To |