8b2b8cedc1646d0afaa94b38cd4ec17326b8fa52
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 1 | ||
Push Down Method public getCpuHardLimit() : Optional<Integer> from class com.hubspot.deploy.ExecutorData to public getCpuHardLimit() : Optional<Integer> from class com.hubspot.singularity.SingularityTaskExecutorData | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type executorData : ExecutorData to executorData : SingularityTaskExecutorData in method private getCfsQuota(executorData SingularityTaskExecutorData) : Integer in class com.hubspot.singularity.executor.task.SingularityExecutorTaskProcessBuilder | From | To | |
Change Parameter Type requestedCpus : double to task : SingularityTaskRequest in method private getCpuHardLimit(task SingularityTaskRequest) : Optional<Integer> in class com.hubspot.singularity.mesos.SingularityMesosTaskBuilder | From | To | |
Change Parameter Type executorData : ExecutorData to executorData : SingularityTaskExecutorData in method public SingularityExecutorTaskProcessBuilder(task SingularityExecutorTask, executorUtils ExecutorUtils, artifactFetcher SingularityExecutorArtifactFetcher, templateManager TemplateManager, configuration SingularityExecutorConfiguration, executorData SingularityTaskExecutorData, executorPid String, dockerUtils DockerUtils, objectMapper ObjectMapper) in class com.hubspot.singularity.executor.task.SingularityExecutorTaskProcessBuilder | From | To | |
Change Parameter Type executorData : ExecutorData to executorData : SingularityTaskExecutorData in method private buildProcessBuilder(taskInfo TaskInfo, executorData SingularityTaskExecutorData, serviceLog String) : ProcessBuilder in class com.hubspot.singularity.executor.task.SingularityExecutorTaskProcessBuilder | From | To | |
Move Method | 1 | ||
Move Method public getCpuHardLimit() : Optional<Integer> from class com.hubspot.deploy.ExecutorDataBuilder to public getCpuHardLimit() : Optional<Integer> from class com.hubspot.singularity.SingularityTaskExecutorData | From | To | |
Push Down Attribute | 1 | ||
Push Down Attribute private cpuHardLimit : Optional<Integer> from class com.hubspot.deploy.ExecutorData to private cpuHardLimit : Optional<Integer> from class com.hubspot.singularity.SingularityTaskExecutorData | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type executorData : ExecutorData to executorData : SingularityTaskExecutorData in class com.hubspot.singularity.executor.task.SingularityExecutorTaskProcessBuilder | From | To | |
Rename Parameter | 1 | ||
Rename Parameter requestedCpus : double to task : SingularityTaskRequest in method private getCpuHardLimit(task SingularityTaskRequest) : Optional<Integer> in class com.hubspot.singularity.mesos.SingularityMesosTaskBuilder | From | To |