88d8736ddeff10a03acaa99a9a0ee99dcfabe590
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 2 | ||
Extract Method package getBufferedOutputStream() : DataOutputStream extracted from public writeBlock(block ExtendedBlock, storageType StorageType, blockToken Token<BlockTokenIdentifier>, clientname String, targets DatanodeInfo[], targetStorageTypes StorageType[], srcDataNode DatanodeInfo, stage BlockConstructionStage, pipelineSize int, minBytesRcvd long, maxBytesRcvd long, latestGenerationStamp long, requestedChecksum DataChecksum, cachingStrategy CachingStrategy, allowLazyPersist boolean, pinning boolean, targetPinnings boolean[]) : void in class org.apache.hadoop.hdfs.server.datanode.DataXceiver | From | To | |
Extract Method package getBlockReceiver(block ExtendedBlock, storageType StorageType, in DataInputStream, inAddr String, myAddr String, stage BlockConstructionStage, newGs long, minBytesRcvd long, maxBytesRcvd long, clientname String, srcDataNode DatanodeInfo, dn DataNode, requestedChecksum DataChecksum, cachingStrategy CachingStrategy, allowLazyPersist boolean, pinning boolean) : BlockReceiver extracted from public writeBlock(block ExtendedBlock, storageType StorageType, blockToken Token<BlockTokenIdentifier>, clientname String, targets DatanodeInfo[], targetStorageTypes StorageType[], srcDataNode DatanodeInfo, stage BlockConstructionStage, pipelineSize int, minBytesRcvd long, maxBytesRcvd long, latestGenerationStamp long, requestedChecksum DataChecksum, cachingStrategy CachingStrategy, allowLazyPersist boolean, pinning boolean, targetPinnings boolean[]) : void in class org.apache.hadoop.hdfs.server.datanode.DataXceiver | From | To |