a0468c5756054a0ebe83d256efaea20e3003cd92
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Rename Method | 1 | ||
| Move And Rename Method private updateFlushIndex(indexes List<Long>) : void from class org.apache.hadoop.hdds.scm.storage.BlockOutputStream to private releaseBuffers(indexes List<Long>) : long from class org.apache.hadoop.hdds.scm.storage.CommitWatcher | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type commitIndex : long to bufferFull : boolean in method private watchForCommit(bufferFull boolean) : void in class org.apache.hadoop.hdds.scm.storage.BlockOutputStream | From | To | |
| Move Method | 1 | ||
| Move Method private adjustBuffers(commitIndex long) : void from class org.apache.hadoop.hdds.scm.storage.BlockOutputStream to private adjustBuffers(commitIndex long) : void from class org.apache.hadoop.hdds.scm.storage.CommitWatcher | From | To | |
| Rename Variable | 1 | ||
| Rename Variable e : TimeoutException|InterruptedException|ExecutionException to ioe : IOException in method private watchForCommit(bufferFull boolean) : void in class org.apache.hadoop.hdds.scm.storage.BlockOutputStream | From | To | |
| Change Return Type | 1 | ||
| Change Return Type void to long in method private releaseBuffers(indexes List<Long>) : long in class org.apache.hadoop.hdds.scm.storage.CommitWatcher | From | To | |
| Move Attribute | 4 | ||
| Move Attribute private totalAckDataLength : long from class org.apache.hadoop.hdds.scm.storage.BlockOutputStream to private totalAckDataLength : long from class org.apache.hadoop.hdds.scm.storage.CommitWatcher | From | To | |
| Move Attribute private futureMap : ConcurrentHashMap<Long,CompletableFuture<ContainerProtos.ContainerCommandResponseProto>> from class org.apache.hadoop.hdds.scm.storage.BlockOutputStream to private futureMap : ConcurrentHashMap<Long,CompletableFuture<ContainerProtos.ContainerCommandResponseProto>> from class org.apache.hadoop.hdds.scm.storage.CommitWatcher | From | To | |
| Move Attribute private watchTimeout : long from class org.apache.hadoop.hdds.scm.storage.BlockOutputStream to private watchTimeout : long from class org.apache.hadoop.hdds.scm.storage.CommitWatcher | From | To | |
| Move Attribute private commitIndex2flushedDataMap : ConcurrentSkipListMap<Long,List<ByteBuffer>> from class org.apache.hadoop.hdds.scm.storage.BlockOutputStream to private commitIndex2flushedDataMap : ConcurrentSkipListMap<Long,List<ByteBuffer>> from class org.apache.hadoop.hdds.scm.storage.CommitWatcher | From | To | |
| Extract Class | 1 | ||
| Extract Class org.apache.hadoop.hdds.scm.storage.CommitWatcher from class org.apache.hadoop.hdds.scm.storage.BlockOutputStream | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type e : TimeoutException|InterruptedException|ExecutionException to ioe : IOException in method private watchForCommit(bufferFull boolean) : void in class org.apache.hadoop.hdds.scm.storage.BlockOutputStream | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter commitIndex : long to bufferFull : boolean in method private watchForCommit(bufferFull boolean) : void in class org.apache.hadoop.hdds.scm.storage.BlockOutputStream | From | To |