e610cf1ca46fed046c98cda0ae397fe1eae3890a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 2 | ||
Change Return Type CompletableFuture<Void> to CompletableFuture<SingularitySlaveUsage> in method public getSlaveUsage(slave SingularitySlave) : CompletableFuture<SingularitySlaveUsage> in class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To | |
Change Return Type void to SingularitySlaveUsage in method private collectSlaveUsage(slave SingularitySlave, now long, utilizationPerRequestId Map<String,RequestUtilization>, previousUtilizations Map<String,RequestUtilization>, overLoadedHosts Map<SingularitySlaveUsage,List<TaskIdWithUsage>>, totalMemBytesUsed AtomicLong, totalMemBytesAvailable AtomicLong, totalCpuUsed AtomicDouble, totalCpuAvailable AtomicDouble, totalDiskBytesUsed AtomicLong, totalDiskBytesAvailable AtomicLong) : SingularitySlaveUsage in class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To | |
Change Variable Type | 1 | ||
Change Variable Type usageFutures : List<CompletableFuture<Void>> to usageFutures : List<CompletableFuture<SingularitySlaveUsage>> in method public runActionOnPoll() : void in class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type usageCollectionSemaphore : AsyncSemaphore<Void> to usageCollectionSemaphore : AsyncSemaphore<SingularitySlaveUsage> in class com.hubspot.singularity.scheduler.SingularityUsagePoller | From | To |