8dc7e5a37efa1ddcc4b9a60ba924ae0c429219ff
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 2 | ||
Move And Rename Method private tryGetQueryExecution(queryId QueryId) : Optional<QueryExecution> from class com.facebook.presto.execution.SqlQueryManager to public tryGetQuery(queryId QueryId) : Optional<T> from class com.facebook.presto.execution.QueryTracker | From | To | |
Move And Rename Method private getQueryExecution(queryId QueryId) : QueryExecution from class com.facebook.presto.execution.SqlQueryManager to public getQuery(queryId QueryId) : T from class com.facebook.presto.execution.QueryTracker | From | To | |
Move Method | 4 | ||
Move Method private enforceTimeLimits() : void from class com.facebook.presto.execution.SqlQueryManager to private enforceTimeLimits() : void from class com.facebook.presto.execution.QueryTracker | From | To | |
Move Method private removeExpiredQueries() : void from class com.facebook.presto.execution.SqlQueryManager to private removeExpiredQueries() : void from class com.facebook.presto.execution.QueryTracker | From | To | |
Move Method private failAbandonedQueries() : void from class com.facebook.presto.execution.SqlQueryManager to private failAbandonedQueries() : void from class com.facebook.presto.execution.QueryTracker | From | To | |
Move Method private pruneExpiredQueries() : void from class com.facebook.presto.execution.SqlQueryManager to private pruneExpiredQueries() : void from class com.facebook.presto.execution.QueryTracker | From | To | |
Change Return Type | 2 | ||
Change Return Type QueryExecution to T in method public getQuery(queryId QueryId) : T in class com.facebook.presto.execution.QueryTracker | From | To | |
Change Return Type Optional<QueryExecution> to Optional<T> in method public tryGetQuery(queryId QueryId) : Optional<T> in class com.facebook.presto.execution.QueryTracker | From | To | |
Move Attribute | 3 | ||
Move Attribute private minQueryExpireAge : Duration from class com.facebook.presto.execution.SqlQueryManager to private minQueryExpireAge : Duration from class com.facebook.presto.execution.QueryTracker | From | To | |
Move Attribute private maxQueryHistory : int from class com.facebook.presto.execution.SqlQueryManager to private maxQueryHistory : int from class com.facebook.presto.execution.QueryTracker | From | To | |
Move Attribute private clientTimeout : Duration from class com.facebook.presto.execution.SqlQueryManager to private clientTimeout : Duration from class com.facebook.presto.execution.QueryTracker | From | To | |
Extract Class | 1 | ||
Extract Class com.facebook.presto.execution.QueryTracker from class com.facebook.presto.execution.SqlQueryManager | From | To | |
Extract Interface | 1 | ||
Extract Interface com.facebook.presto.execution.QueryTracker.TrackedQuery from classes [com.facebook.presto.execution.QueryExecution] | From | To |