3234d43fa332259f6accf8d033c319403204d2c3
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public getCpuTotal() : double renamed to public getCpuUsed() : double in class com.hubspot.singularity.RequestUtilization | From | To | |
Rename Method public addMemBytes(memBytes long) : RequestUtilization renamed to public addMemBytesUsed(memBytes long) : RequestUtilization in class com.hubspot.singularity.RequestUtilization | From | To | |
Rename Method public getMemBytesTotal() : long renamed to public getMemBytesUsed() : long in class com.hubspot.singularity.RequestUtilization | From | To | |
Rename Method public addCpu(cpu double) : RequestUtilization renamed to public addCpuUsed(cpu double) : RequestUtilization in class com.hubspot.singularity.RequestUtilization | From | To | |
Rename Variable | 4 | ||
Rename Variable cpuReserved : long to cpuReservedOnSlave : double in method public runActionOnPoll() : void in class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To | |
Rename Variable cpusUsed : double to cpusUsedOnSlave : double in method public runActionOnPoll() : void in class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To | |
Rename Variable memoryBytesUsed : long to memoryBytesUsedOnSlave : long in method public runActionOnPoll() : void in class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To | |
Rename Variable memoryMbReserved : long to memoryMbReservedOnSlave : long in method public runActionOnPoll() : void in class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To | |
Rename Attribute | 2 | ||
Rename Attribute cpuTotal : double to cpuUsed : double in class com.hubspot.singularity.RequestUtilization | From | To | |
Rename Attribute memBytesTotal : long to memBytesUsed : long in class com.hubspot.singularity.RequestUtilization | From | To | |
Change Variable Type | 1 | ||
Change Variable Type cpuReserved : long to cpuReservedOnSlave : double in method public runActionOnPoll() : void in class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To | |
Extract Variable | 11 | ||
Extract Variable memMbReserved : double in method public itDoesntIncludePerfectlyUtilizedRequestsInClusterUtilization() : void from class com.hubspot.singularity.scheduler.SingularityUsageTest | From | To | |
Extract Variable cpuReserved : double in method public itTracksClusterUtilizationSimple() : void from class com.hubspot.singularity.scheduler.SingularityUsageTest | From | To | |
Extract Variable memMbReserved : double in method public itTracksOverusedCpuInClusterUtilization() : void from class com.hubspot.singularity.scheduler.SingularityUsageTest | From | To | |
Extract Variable taskUsages : int in method public itDoesntIncludePerfectlyUtilizedRequestsInClusterUtilization() : void from class com.hubspot.singularity.scheduler.SingularityUsageTest | From | To | |
Extract Variable taskUsages : int in method public itTracksOverusedCpuInClusterUtilization() : void from class com.hubspot.singularity.scheduler.SingularityUsageTest | From | To | |
Extract Variable memMbReserved : double in method public itTracksClusterUtilizationSimple() : void from class com.hubspot.singularity.scheduler.SingularityUsageTest | From | To | |
Extract Variable memoryMbReservedForTask : double in method public runActionOnPoll() : void from class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To | |
Extract Variable cpuReserved : double in method public itTracksOverusedCpuInClusterUtilization() : void from class com.hubspot.singularity.scheduler.SingularityUsageTest | From | To | |
Extract Variable cpuReservedForTask : double in method public runActionOnPoll() : void from class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To | |
Extract Variable cpuReserved : double in method public itDoesntIncludePerfectlyUtilizedRequestsInClusterUtilization() : void from class com.hubspot.singularity.scheduler.SingularityUsageTest | From | To | |
Extract Variable taskUsages : int in method public itTracksClusterUtilizationSimple() : void from class com.hubspot.singularity.scheduler.SingularityUsageTest | From | To |