f041306cdae701e91b314234b413af98fd1f6b18
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move And Rename Method | 1 | ||
| Move And Rename Method private locateMetaRegion() : CompletableFuture<HRegionLocation> from class org.apache.hadoop.hbase.client.AsyncRegionLocator to package getRegionLocation() : CompletableFuture<HRegionLocation> from class org.apache.hadoop.hbase.client.AsyncMetaRegionLocator | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type row : byte[] to req : LocateRequest in method private locateInMeta(tableName TableName, req LocateRequest) : void in class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Change Parameter Type startRowOfCurrentRegion : byte[] to req : LocateRequest in method private locatePreviousInMeta(tableName TableName, req LocateRequest) : void in class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Move Method | 7 | ||
| Move Method private locateInCache(tableName TableName, row byte[]) : HRegionLocation from class org.apache.hadoop.hbase.client.AsyncRegionLocator to private locateInCache(tableCache TableCache, tableName TableName, row byte[]) : HRegionLocation from class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Move Method private locateInMeta(tableName TableName, row byte[]) : CompletableFuture<HRegionLocation> from class org.apache.hadoop.hbase.client.AsyncRegionLocator to private locateInMeta(tableName TableName, req LocateRequest) : void from class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Move Method private removeFromCache(loc HRegionLocation) : void from class org.apache.hadoop.hbase.client.AsyncRegionLocator to private removeFromCache(loc HRegionLocation) : void from class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Move Method private locatePreviousInMeta(tableName TableName, startRowOfCurrentRegion byte[]) : CompletableFuture<HRegionLocation> from class org.apache.hadoop.hbase.client.AsyncRegionLocator to private locatePreviousInMeta(tableName TableName, req LocateRequest) : void from class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Move Method private onScanComplete(future CompletableFuture<HRegionLocation>, tableName TableName, row byte[], results List<Result>, error Throwable, rowNameInErrorMsg String, otherCheck Consumer<HRegionLocation>) : void from class org.apache.hadoop.hbase.client.AsyncRegionLocator to private onScanComplete(tableName TableName, req LocateRequest, results List<Result>, error Throwable, rowNameInErrorMsg String) : void from class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Move Method private locatePreviousInCache(tableName TableName, startRowOfCurrentRegion byte[]) : HRegionLocation from class org.apache.hadoop.hbase.client.AsyncRegionLocator to private locatePreviousInCache(tableCache TableCache, tableName TableName, startRowOfCurrentRegion byte[]) : HRegionLocation from class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Move Method private addToCache(loc HRegionLocation) : void from class org.apache.hadoop.hbase.client.AsyncRegionLocator to private addToCache(loc HRegionLocation) : void from class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Change Return Type | 2 | ||
| Change Return Type CompletableFuture<HRegionLocation> to void in method private locatePreviousInMeta(tableName TableName, req LocateRequest) : void in class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Change Return Type CompletableFuture<HRegionLocation> to void in method private locateInMeta(tableName TableName, req LocateRequest) : void in class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Move Attribute | 3 | ||
| Move Attribute private metaRelocateFuture : AtomicReference<CompletableFuture<HRegionLocation>> from class org.apache.hadoop.hbase.client.AsyncRegionLocator to private metaRelocateFuture : AtomicReference<CompletableFuture<HRegionLocation>> from class org.apache.hadoop.hbase.client.AsyncMetaRegionLocator | From | To | |
| Move Attribute private metaRegionLocation : AtomicReference<HRegionLocation> from class org.apache.hadoop.hbase.client.AsyncRegionLocator to private metaRegionLocation : AtomicReference<HRegionLocation> from class org.apache.hadoop.hbase.client.AsyncMetaRegionLocator | From | To | |
| Move Attribute private conn : AsyncConnectionImpl from class org.apache.hadoop.hbase.client.AsyncRegionLocator to private conn : AsyncConnectionImpl from class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Extract Class | 2 | ||
| Extract Class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator from class org.apache.hadoop.hbase.client.AsyncRegionLocator | From | To | |
| Extract Class org.apache.hadoop.hbase.client.AsyncMetaRegionLocator from class org.apache.hadoop.hbase.client.AsyncRegionLocator | From | To | |
| Rename Class | 1 | ||
| Rename Class org.apache.hadoop.hbase.client.TestAsyncRegionLocator renamed to org.apache.hadoop.hbase.client.TestAsyncNonMetaRegionLocator | From | To | |
| Extract Method | 1 | ||
| Extract Method private addToCache(tableCache TableCache, loc HRegionLocation) : boolean extracted from private addToCache(loc HRegionLocation) : void in class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type LOCATOR : AsyncRegionLocator to LOCATOR : AsyncNonMetaRegionLocator in class org.apache.hadoop.hbase.client.TestAsyncNonMetaRegionLocator | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter row : byte[] to req : LocateRequest in method private locateInMeta(tableName TableName, req LocateRequest) : void in class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To | |
| Rename Parameter startRowOfCurrentRegion : byte[] to req : LocateRequest in method private locatePreviousInMeta(tableName TableName, req LocateRequest) : void in class org.apache.hadoop.hbase.client.AsyncNonMetaRegionLocator | From | To |