e3cca1204874d37b48095c8ff9a44c1f16dc15ed
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 1 | ||
Change Return Type Cache<PipelineID,XceiverClientSpi> to Cache<String,XceiverClientSpi> in method public getClientCache() : Cache<String,XceiverClientSpi> in class org.apache.hadoop.hdds.scm.XceiverClientManager | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable leader : DatanodeDetails to dn : DatanodeDetails in method private connectToDatanode(dn DatanodeDetails) : void in class org.apache.hadoop.hdds.scm.XceiverClientGrpc | From | To | |
Change Variable Type | 2 | ||
Change Variable Type cache : Cache<PipelineID,XceiverClientSpi> to cache : Cache<String,XceiverClientSpi> in method public testFreeByReference() : void in class org.apache.hadoop.ozone.scm.TestXceiverClientManager | From | To | |
Change Variable Type cache : Cache<PipelineID,XceiverClientSpi> to cache : Cache<String,XceiverClientSpi> in method public testFreeByEviction() : void in class org.apache.hadoop.ozone.scm.TestXceiverClientManager | From | To | |
Extract Variable | 1 | ||
Extract Variable pipeline : Pipeline in method public getFromOmKeyInfo(keyInfo OmKeyInfo, xceiverClientManager XceiverClientManager, storageContainerLocationClient StorageContainerLocationProtocolClientSideTranslatorPB, requestId String) : LengthInputStream from class org.apache.hadoop.ozone.client.io.ChunkGroupInputStream | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type clientCache : Cache<PipelineID,XceiverClientSpi> to clientCache : Cache<String,XceiverClientSpi> in class org.apache.hadoop.hdds.scm.XceiverClientManager | From | To | |
Extract Method | 2 | ||
Extract Method private sendCommandAsync(request ContainerCommandRequestProto, dn DatanodeDetails) : CompletableFuture<ContainerCommandResponseProto> extracted from public sendCommandAsync(request ContainerCommandRequestProto) : CompletableFuture<ContainerCommandResponseProto> in class org.apache.hadoop.hdds.scm.XceiverClientGrpc | From | To | |
Extract Method private connectToDatanode(dn DatanodeDetails) : void extracted from public connect() : void in class org.apache.hadoop.hdds.scm.XceiverClientGrpc | From | To |