218bed8b8e49b0e4c61c61f696a8f010eafea1b7
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public subsume() : boolean renamed to public discardOnShutdown(jobStatus JobStatus, sharedStateRegistry SharedStateRegistry) : boolean in class org.apache.flink.runtime.checkpoint.CompletedCheckpointStoreTest.TestCompletedCheckpoint | From | To | |
| Rename Method public discard(jobStatus JobStatus) : boolean renamed to public discardOnShutdown(jobStatus JobStatus, sharedStateRegistry SharedStateRegistry) : boolean in class org.apache.flink.runtime.checkpoint.CompletedCheckpoint | From | To | |
| Rename Method public subsume() : boolean renamed to public discardOnSubsume(sharedStateRegistry SharedStateRegistry) : boolean in class org.apache.flink.runtime.checkpoint.CompletedCheckpoint | From | To | |
| Rename Variable | 4 | ||
| Rename Variable checkpointStateHandles : SubtaskState to subtaskState : SubtaskState in method public testRestoreLatestCheckpointedState() : void in class org.apache.flink.runtime.checkpoint.CheckpointCoordinatorTest | From | To | |
| Rename Variable completedCheckpoint : CompletedCheckpoint to subtaskState : SubtaskState in method public testFailingCompletedCheckpointStoreAdd() : void in class org.apache.flink.runtime.checkpoint.CheckpointCoordinatorFailureTest | From | To | |
| Rename Variable checkpoint : Tuple2<RetrievableStateHandle<CompletedCheckpoint>,String> to checkpointStateHandle : Tuple2<RetrievableStateHandle<CompletedCheckpoint>,String> in method public recover(sharedStateRegistry SharedStateRegistry) : void in class org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStore | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class org.apache.flink.runtime.jobmanager.JobManagerHARecoveryTest.MyCheckpointStore moved and renamed to org.apache.flink.runtime.testutils.RecoverableCompletedCheckpointStore | From | To | |
| Parameterize Variable | 2 | ||
| Parameterize Variable jobVertexID2 : JobVertexID to jobVertexID : JobVertexID in method package mockSubtaskState(jobVertexID JobVertexID, index int, keyGroupRange KeyGroupRange) : SubtaskState in class org.apache.flink.runtime.checkpoint.CheckpointCoordinatorTest | From | To | |
| Parameterize Variable jobVertexID1 : JobVertexID to jobVertexID : JobVertexID in method package mockSubtaskState(jobVertexID JobVertexID, index int, keyGroupRange KeyGroupRange) : SubtaskState in class org.apache.flink.runtime.checkpoint.CheckpointCoordinatorTest | From | To | |
| Extract Variable | 1 | ||
| Extract Variable store : CompletedCheckpointStore in method public testRestoreLatestCheckpointedState() : void from class org.apache.flink.runtime.checkpoint.CheckpointCoordinatorTest | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type completedCheckpoint : CompletedCheckpoint to subtaskState : SubtaskState in method public testFailingCompletedCheckpointStoreAdd() : void in class org.apache.flink.runtime.checkpoint.CheckpointCoordinatorFailureTest | From | To | |
| Extract Method | 2 | ||
| Extract Method package mockSubtaskState(jobVertexID JobVertexID, index int, keyGroupRange KeyGroupRange) : SubtaskState extracted from public testRestoreLatestCheckpointedState() : void in class org.apache.flink.runtime.checkpoint.CheckpointCoordinatorTest | From | To | |
| Inline Variable | 1 | ||
| Inline Variable cc : CompletedCheckpoint in method private completePendingCheckpoint(pendingCheckpoint PendingCheckpoint) : void from class org.apache.flink.runtime.checkpoint.CheckpointCoordinator | From | To |