cd4bda3fc193180e2a1ceb9bc2c3d9fff1a58cea
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public getNumOverdueTasks() : int renamed to public getNumLateTasks() : int in class com.hubspot.singularity.SingularityDisasterStats | From | To | |
Rename Method public isCheckOverdueTasks() : boolean renamed to public isCheckLateTasks() : boolean in class com.hubspot.singularity.config.DisasterDetectionConfiguration | From | To | |
Rename Method public setCheckOverdueTasks(checkOverdueTasks boolean) : void renamed to public setCheckLateTasks(checkLateTasks boolean) : void in class com.hubspot.singularity.config.DisasterDetectionConfiguration | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method private addDisabledActions(newActiveDisasters List<SingularityDisasterType>) : void from class com.hubspot.singularity.scheduler.SingularityDisasterDetectionPoller to public addDisabledActionsForDisasters(newActiveDisasters List<SingularityDisasterType>) : void from class com.hubspot.singularity.data.DisasterManager | From | To | |
Move Method | 1 | ||
Move Method private clearSystemGeneratedDisabledActions() : void from class com.hubspot.singularity.scheduler.SingularityDisasterDetectionPoller to public clearSystemGeneratedDisabledActions() : void from class com.hubspot.singularity.data.DisasterManager | From | To | |
Rename Variable | 1 | ||
Rename Variable numOverdueTasks : int to numLateTasks : int in method private collectNewStats(lastStats Optional<SingularityDisasterStats>) : SingularityDisasterStats in class com.hubspot.singularity.scheduler.SingularityDisasterDetectionPoller | From | To | |
Rename Attribute | 5 | ||
Rename Attribute DISABLED_ACTIONS : String to DISABLED_ACTIONS_PATH : String in class com.hubspot.singularity.data.DisasterManager | From | To | |
Rename Attribute numOverdueTasks : int to numLateTasks : int in class com.hubspot.singularity.SingularityDisasterStats | From | To | |
Rename Attribute ACTIVE_DISASTERS : String to ACTIVE_DISASTERS_PATH : String in class com.hubspot.singularity.data.DisasterManager | From | To | |
Rename Attribute DISASTER_STATS : String to DISASTER_STATS_PATH : String in class com.hubspot.singularity.data.DisasterManager | From | To | |
Rename Attribute checkOverdueTasks : boolean to checkLateTasks : boolean in class com.hubspot.singularity.config.DisasterDetectionConfiguration | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type configuration : DisasterDetectionConfiguration to configuration : SingularityConfiguration in class com.hubspot.singularity.scheduler.SingularityDisasterDetectionPoller | From | To | |
Rename Parameter | 2 | ||
Rename Parameter numOverdueTasks : int to numLateTasks : int in method public SingularityDisasterStats(timestamp long, numActiveTasks int, numPendingTasks int, numLateTasks int, avgTaskLagMillis long, numLostTasks int, numActiveSlaves int, numLostSlaves int) in class com.hubspot.singularity.SingularityDisasterStats | From | To | |
Rename Parameter checkOverdueTasks : boolean to checkLateTasks : boolean in method public setCheckLateTasks(checkLateTasks boolean) : void in class com.hubspot.singularity.config.DisasterDetectionConfiguration | From | To |