a45d59dda476980a92f2111ebf207a22c667b0c6
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type avgUnderUtilizedMemBytes : double to avgUnderUtilizedMemBytes : long in method public SingularityClusterUtilization(requestUtilizations List<RequestUtilization>, numRequestsWithUnderUtilizedCpu int, numRequestsWithOverUtilizedCpu int, numRequestsWithUnderUtilizedMemBytes int, totalUnderUtilizedCpu double, totalOverUtilizedCpu double, totalUnderUtilizedMemBytes long, avgUnderUtilizedCpu double, avgOverUtilizedCpu double, avgUnderUtilizedMemBytes long, maxUnderUtilizedCpu double, maxOverUtilizedCpu double, maxUnderUtilizedMemBytes long, minUnderUtilizedCpu double, minOverUtilizedCpu double, minUnderUtilizedMemBytes long, totalMemBytesUsed long, totalMemBytesAvailable long, totalCpuUsed double, totalCpuAvailable double, timestamp long) in class com.hubspot.singularity.SingularityClusterUtilization | From | To | |
Change Return Type | 1 | ||
Change Return Type double to long in method public getAvgUnderUtilizedMemBytes() : long in class com.hubspot.singularity.SingularityClusterUtilization | From | To | |
Change Variable Type | 1 | ||
Change Variable Type avgUnderUtilizedMemBytes : double to avgUnderUtilizedMemBytes : long in method private getClusterUtilization(utilizationPerRequestId Map<String,RequestUtilization>, totalMemBytesUsed long, totalMemBytesAvailable long, totalCpuUsed double, totalCpuAvailable double, now long) : SingularityClusterUtilization in class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type avgUnderUtilizedMemBytes : double to avgUnderUtilizedMemBytes : long in class com.hubspot.singularity.SingularityClusterUtilization | From | To |