86043ef62975ca1fff64ca2285d5c6dc326b7d05
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type hri : RegionInfo to hris : List<RegionInfo> in method private clearBlockCache(sn ServerName, hris List<RegionInfo>) : CacheEvictionStats in class org.apache.hadoop.hbase.client.HBaseAdmin | From | To | |
Rename Variable | 1 | ||
Rename Variable pair : Pair<RegionInfo,ServerName> to exception : Map.Entry<byte[],Throwable> in method public clearBlockCache(tableName TableName) : CacheEvictionStats in class org.apache.hadoop.hbase.client.HBaseAdmin | From | To | |
Change Variable Type | 1 | ||
Change Variable Type pair : Pair<RegionInfo,ServerName> to exception : Map.Entry<byte[],Throwable> in method public clearBlockCache(tableName TableName) : CacheEvictionStats in class org.apache.hadoop.hbase.client.HBaseAdmin | From | To | |
Extract Variable | 4 | ||
Extract Variable response : ClearRegionBlockCacheResponse in method private clearBlockCache(sn ServerName, hris List<RegionInfo>) : CacheEvictionStats from class org.apache.hadoop.hbase.client.HBaseAdmin | From | To | |
Extract Variable builder : HBaseProtos.CacheEvictionStats.Builder in method public toCacheEvictionStats(cacheEvictionStats CacheEvictionStats) : HBaseProtos.CacheEvictionStats from class org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil | From | To | |
Extract Variable builder : ClearRegionBlockCacheResponse.Builder in method public clearRegionBlockCache(controller RpcController, request ClearRegionBlockCacheRequest) : ClearRegionBlockCacheResponse from class org.apache.hadoop.hbase.regionserver.RSRpcServices | From | To | |
Extract Variable stats : CacheEvictionStats in method public clearBlockCache(tableName TableName) : CacheEvictionStats from class org.apache.hadoop.hbase.client.HBaseAdmin | From | To | |
Rename Parameter | 2 | ||
Rename Parameter cacheEvictionStats : HBaseProtos.CacheEvictionStats to stats : HBaseProtos.CacheEvictionStats in method public toCacheEvictionStats(stats HBaseProtos.CacheEvictionStats) : CacheEvictionStats in class org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil | From | To | |
Rename Parameter hri : RegionInfo to hris : List<RegionInfo> in method private clearBlockCache(sn ServerName, hris List<RegionInfo>) : CacheEvictionStats in class org.apache.hadoop.hbase.client.HBaseAdmin | From | To |