45deafca58ca0c9fbb8cf935de252d6b2d0e6d9a
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public BlockOutStream(workerNetAddress WorkerNetAddress, blockId long, blockSize long, context BlockStoreContext, options OutStreamOptions) renamed to public createLocalBlockOutStream(blockId long, blockSize long, workerNetAddress WorkerNetAddress, context BlockStoreContext, options OutStreamOptions) : BlockOutStream in class alluxio.client.block.stream.BlockOutStream | From | To | |
Move And Inline Method | 3 | ||
Move And Inline Method public close() : void moved from class alluxio.client.block.stream.UnderFileSystemFileOutStream to class alluxio.client.block.stream.LocalPacketWriter & inlined to public close() : void | From | To | |
Move And Inline Method public close() : void moved from class alluxio.client.block.stream.UnderFileSystemFileOutStream to class alluxio.client.block.stream.NettyPacketWriter & inlined to public close() : void | From | To | |
Move And Inline Method public close() : void moved from class alluxio.client.block.stream.UnderFileSystemFileOutStream to class alluxio.client.block.stream.NettyPacketWriter & inlined to public cancel() : void | From | To | |
Move Attribute | 4 | ||
Move Attribute protected mClosed : boolean from class alluxio.client.block.stream.PacketOutStream to private mClosed : boolean from class alluxio.client.block.stream.LocalPacketWriter | From | To | |
Move Attribute protected mClosed : boolean from class alluxio.client.block.stream.PacketOutStream to private mClosed : boolean from class alluxio.client.block.stream.NettyPacketWriter | From | To | |
Move Attribute protected mBlockSize : long from class alluxio.client.block.stream.PacketOutStream to private mBlockSize : long from class alluxio.client.block.stream.BlockOutStream | From | To | |
Move Attribute protected mCloser : Closer from class alluxio.client.block.stream.PacketOutStream to private mCloser : Closer from class alluxio.client.block.stream.BlockOutStream | From | To | |
Rename Attribute | 1 | ||
Rename Attribute mBlockSize : long to mLength : long in class alluxio.client.block.stream.PacketOutStream | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public cancel() : void extracted from public cancel() : void in class alluxio.client.block.stream.BlockOutStream & moved to class alluxio.client.block.stream.PacketOutStream | From | To | |
Extract And Move Method public close() : void extracted from public close() : void in class alluxio.client.block.stream.BlockOutStream & moved to class alluxio.client.block.stream.PacketOutStream | From | To | |
Rename Parameter | 4 | ||
Rename Parameter buf : ByteBuf to packet : ByteBuf in method public writePacket(packet ByteBuf) : void in class alluxio.client.block.stream.PacketWriter | From | To | |
Rename Parameter id : long to ufsFileId : long in method public createFilePacketReader(address InetSocketAddress, ufsFileId long, offset long, len int) : NettyPacketReader in class alluxio.client.block.stream.NettyPacketReader | From | To | |
Rename Parameter id : long to blockId : long in method public createBlockPacketReader(address InetSocketAddress, blockId long, offset long, len int, lockId long, sessionId long) : NettyPacketReader in class alluxio.client.block.stream.NettyPacketReader | From | To | |
Rename Parameter force : boolean to lastPacket : boolean in method private updateCurrentPacket(lastPacket boolean) : void in class alluxio.client.block.stream.PacketOutStream | From | To |