9cafdacebe58d452925cd83e30c4342bbae0a3ea
Files Diff
- Added: 5
- Removed: 1
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type clientSupplier : Supplier<PrestoThriftService> to clientSupplier : Supplier<ConnectedThriftService> in method package RetryingService(clientSupplier Supplier<ConnectedThriftService>, retry RetryDriver, stats Stats) in class com.facebook.presto.connector.thrift.clientproviders.RetryingPrestoThriftServiceProvider.RetryingService | From | To | |
Change Parameter Type original : PrestoThriftServiceProvider to original : ConnectedThriftServiceProvider in method public RetryingPrestoThriftServiceProvider(original ConnectedThriftServiceProvider, retryExecutor ListeningScheduledExecutorService, config ThriftConnectorConfig) in class com.facebook.presto.connector.thrift.clientproviders.RetryingPrestoThriftServiceProvider | From | To | |
Change Parameter Type retryRunnable : Optional<Runnable> to onFailure : Optional<Consumer<Exception>> in method private RetryDriver(maxAttempts int, minSleepTime Duration, maxSleepTime Duration, scaleFactor double, maxRetryTime Duration, onFailure Optional<Consumer<Exception>>, stopRetrying Predicate<Exception>, classifier Function<Exception,Exception>, retryExecutorService ListeningScheduledExecutorService) in class com.facebook.presto.connector.thrift.util.RetryDriver | From | To | |
Change Return Type | 6 | ||
Change Return Type PrestoThriftService to ConnectedThriftService in method public anyHostClient() : ConnectedThriftService in class com.facebook.presto.connector.thrift.clientproviders.DefaultPrestoThriftServiceProvider | From | To | |
Change Return Type HostAddress to HostLocationHandle in method public getAnyOf(requestedHosts List<HostAddress>) : HostLocationHandle in class com.facebook.presto.connector.thrift.location.StaticLocationProvider | From | To | |
Change Return Type HostAddress to HostLocationHandle in method public getAnyHost() : HostLocationHandle in class com.facebook.presto.connector.thrift.location.HostLocationProvider | From | To | |
Change Return Type HostAddress to HostLocationHandle in method public getAnyHost() : HostLocationHandle in class com.facebook.presto.connector.thrift.location.StaticLocationProvider | From | To | |
Change Return Type HostAddress to HostLocationHandle in method public getAnyOf(hosts List<HostAddress>) : HostLocationHandle in class com.facebook.presto.connector.thrift.location.HostLocationProvider | From | To | |
Change Return Type PrestoThriftService to ConnectedThriftService in method public selectedHostClient(hosts List<HostAddress>) : ConnectedThriftService in class com.facebook.presto.connector.thrift.clientproviders.DefaultPrestoThriftServiceProvider | From | To | |
Rename Attribute | 1 | ||
Rename Attribute retryRunnable : Optional<Runnable> to onFailure : Optional<Consumer<Exception>> in class com.facebook.presto.connector.thrift.util.RetryDriver | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type original : PrestoThriftServiceProvider to original : ConnectedThriftServiceProvider in class com.facebook.presto.connector.thrift.clientproviders.RetryingPrestoThriftServiceProvider | From | To | |
Change Attribute Type client : PrestoThriftService to client : ConnectedThriftService in class com.facebook.presto.connector.thrift.clientproviders.RetryingPrestoThriftServiceProvider.RetryingService | From | To | |
Change Attribute Type retryRunnable : Optional<Runnable> to onFailure : Optional<Consumer<Exception>> in class com.facebook.presto.connector.thrift.util.RetryDriver | From | To | |
Change Attribute Type clientSupplier : Supplier<PrestoThriftService> to clientSupplier : Supplier<ConnectedThriftService> in class com.facebook.presto.connector.thrift.clientproviders.RetryingPrestoThriftServiceProvider.RetryingService | From | To | |
Rename Parameter | 1 | ||
Rename Parameter retryRunnable : Optional<Runnable> to onFailure : Optional<Consumer<Exception>> in method private RetryDriver(maxAttempts int, minSleepTime Duration, maxSleepTime Duration, scaleFactor double, maxRetryTime Duration, onFailure Optional<Consumer<Exception>>, stopRetrying Predicate<Exception>, classifier Function<Exception,Exception>, retryExecutorService ListeningScheduledExecutorService) in class com.facebook.presto.connector.thrift.util.RetryDriver | From | To |