d18f5809808221f6bd7c045aa78dfe01dab2afdf
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type jobManagerGateway : ActorGateway to leaderRetrievalService : LeaderRetrievalService in method public submitJobAndWait(actorSystem ActorSystem, leaderRetrievalService LeaderRetrievalService, jobGraph JobGraph, timeout FiniteDuration, sysoutLogUpdates boolean, classLoader ClassLoader) : JobExecutionResult in class org.apache.flink.runtime.client.JobClient | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute leaderRetrievalService : LeaderRetrievalService to timeout : FiniteDuration in method public Client(config Configuration, maxSlots int) in class org.apache.flink.client.program.Client | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type leaderRetrievalService : LeaderRetrievalService to timeout : FiniteDuration in method public Client(config Configuration, maxSlots int) in class org.apache.flink.client.program.Client | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type leaderElectionServices : TestingLeaderElectionService[] to leaderElectionServices : List<TestingLeaderElectionService> in class org.apache.flink.runtime.leaderelection.LeaderElectionRetrievalTestingCluster | From | To | |
| Change Attribute Type leaderRetrievalServices : TestingLeaderRetrievalService[] to leaderRetrievalServices : List<TestingLeaderRetrievalService> in class org.apache.flink.runtime.leaderelection.LeaderElectionRetrievalTestingCluster | From | To | |
| Extract Method | 4 | ||
| Extract Method private disconnectFromJobManager() : void extracted from protected handleMessage(message Object) : void in class org.apache.flink.runtime.client.JobClientActor | From | To | |
| Extract Method private tryToSubmitJob(jobGraph JobGraph) : void extracted from protected handleMessage(message Object) : void in class org.apache.flink.runtime.client.JobClientActor | From | To | |
| Extract Method private terminate() : void extracted from protected handleMessage(message Object) : void in class org.apache.flink.runtime.client.JobClientActor | From | To | |
| Extract Method private connectToJobManager(jobManager ActorRef) : void extracted from protected handleMessage(message Object) : void in class org.apache.flink.runtime.client.JobClientActor | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public createJobClientActorProps(leaderRetrievalService LeaderRetrievalService, timeout FiniteDuration, sysoutUpdates boolean) : Props extracted from public submitJobAndWait(actorSystem ActorSystem, jobManagerGateway ActorGateway, jobGraph JobGraph, timeout FiniteDuration, sysoutLogUpdates boolean, classLoader ClassLoader) : JobExecutionResult in class org.apache.flink.runtime.client.JobClient & moved to class org.apache.flink.runtime.client.JobClientActor | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter jobManagerGateway : ActorGateway to leaderRetrievalService : LeaderRetrievalService in method public submitJobAndWait(actorSystem ActorSystem, leaderRetrievalService LeaderRetrievalService, jobGraph JobGraph, timeout FiniteDuration, sysoutLogUpdates boolean, classLoader ClassLoader) : JobExecutionResult in class org.apache.flink.runtime.client.JobClient | From | To |