d4e4a7d4561b3d3644d7427b048d64966b4a0e61
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 4 | ||
| Rename Method public getTotalSuccessfulFlushedData() : long renamed to public getTotalAckDataLength() : long in class org.apache.hadoop.hdds.scm.storage.BlockOutputStream | From | To | |
| Rename Method private handlePartialFlush() : CompletableFuture<ContainerProtos.ContainerCommandResponseProto> renamed to private executePutBlock() : CompletableFuture<ContainerProtos.ContainerCommandResponseProto> in class org.apache.hadoop.hdds.scm.storage.BlockOutputStream | From | To | |
| Rename Method public getBuffer() : ByteBuffer renamed to public getCurrentBuffer() : ByteBuffer in class org.apache.hadoop.hdds.scm.storage.BufferPool | From | To | |
| Rename Method package getTotalSuccessfulFlushedData() : long renamed to package getTotalAckDataLength() : long in class org.apache.hadoop.ozone.client.io.BlockOutputStreamEntry | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type close : boolean to op : StreamAction in method private handleFlushOrClose(op StreamAction) : void in class org.apache.hadoop.ozone.client.io.KeyOutputStream | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type commitIndex2flushedDataMap : ConcurrentSkipListMap<Long,Long> to commitIndex2flushedDataMap : ConcurrentSkipListMap<Long,List<ByteBuffer>> in class org.apache.hadoop.hdds.scm.storage.BlockOutputStream | From | To | |
| Extract And Move Method | 2 | ||
| Extract And Move Method package getCurrentBufferIndex() : int extracted from private handlePartialFlush() : CompletableFuture<ContainerProtos.ContainerCommandResponseProto> in class org.apache.hadoop.hdds.scm.storage.BlockOutputStream & moved to class org.apache.hadoop.hdds.scm.storage.BufferPool | From | To | |
| Extract And Move Method public waitForContainerClose(outputStream OzoneOutputStream, cluster MiniOzoneCluster) : void extracted from private waitForContainerClose(outputStream OzoneOutputStream) : void in class org.apache.hadoop.ozone.client.rpc.TestCloseContainerHandlingByClient & moved to class org.apache.hadoop.ozone.container.ContainerTestHelper | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter close : boolean to op : StreamAction in method private handleFlushOrClose(op StreamAction) : void in class org.apache.hadoop.ozone.client.io.KeyOutputStream | From | To |