a0b668555f5ee407d3cdbc42113cc28f019fc318
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method public testAddCheckpointWithFailedRemove() : void from class org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStoreTest to public testAddCheckpointWithFailedRemove() : void from class org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStoreMockitoTest | From | To | |
Move Method public testCheckpointRecovery() : void from class org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStoreTest to public testCheckpointRecovery() : void from class org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStoreMockitoTest | From | To | |
Inline Method | 1 | ||
Inline Method public releaseAndTryRemove(pathInZooKeeper String, callback RemoveCallback<T>) : void inlined to public releaseAndTryRemove(pathInZooKeeper String) : boolean in class org.apache.flink.runtime.zookeeper.ZooKeeperStateHandleStore | From | To | |
Change Return Type | 1 | ||
Change Return Type void to boolean in method public releaseAndTryRemove(pathInZooKeeper String) : boolean in class org.apache.flink.runtime.zookeeper.ZooKeeperStateHandleStore | From | To | |
Move Attribute | 1 | ||
Move Attribute private executor : Executor from class org.apache.flink.runtime.zookeeper.ZooKeeperStateHandleStore to private executor : Executor from class org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStore | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStoreMockitoTest from class org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStoreTest | From | To | |
Extract Method | 2 | ||
Extract Method private tryRemoveCompletedCheckpoint(completedCheckpoint CompletedCheckpoint, discardCallback ConsumerWithException<CompletedCheckpoint,Exception>) : void extracted from public addCheckpoint(checkpoint CompletedCheckpoint) : void in class org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStore | From | To | |
Extract Method private tryRemoveCompletedCheckpoint(completedCheckpoint CompletedCheckpoint, discardCallback ConsumerWithException<CompletedCheckpoint,Exception>) : void extracted from public shutdown(jobStatus JobStatus) : void in class org.apache.flink.runtime.checkpoint.ZooKeeperCompletedCheckpointStore | From | To |