0454878e71e4fdb2d9c9cc130d02657f64babea0
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 2 | ||
Extract Method private waitUntilFlushedToBucket(cache BucketCache, cacheKey BlockCacheKey) : void extracted from private cacheAndWaitUntilFlushedToBucket(cache BucketCache, cacheKey BlockCacheKey, block Cacheable) : void in class org.apache.hadoop.hbase.io.hfile.bucket.TestBucketCache | From | To | |
Extract Method private cacheBlockWithWaitInternal(cacheKey BlockCacheKey, cachedItem Cacheable, inMemory boolean, wait boolean) : void extracted from public cacheBlockWithWait(cacheKey BlockCacheKey, cachedItem Cacheable, inMemory boolean, wait boolean) : void in class org.apache.hadoop.hbase.io.hfile.bucket.BucketCache | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public shouldReplaceExistingCacheBlock(blockCache BlockCache, cacheKey BlockCacheKey, newBlock Cacheable) : boolean extracted from public cacheBlock(cacheKey BlockCacheKey, buf Cacheable, inMemory boolean) : void in class org.apache.hadoop.hbase.io.hfile.LruBlockCache & moved to class org.apache.hadoop.hbase.io.hfile.BlockCacheUtil | From | To | |
Extract And Move Method public shouldReplaceExistingCacheBlock(blockCache BlockCache, cacheKey BlockCacheKey, newBlock Cacheable) : boolean extracted from public cacheBlockWithWait(cacheKey BlockCacheKey, cachedItem Cacheable, inMemory boolean, wait boolean) : void in class org.apache.hadoop.hbase.io.hfile.bucket.BucketCache & moved to class org.apache.hadoop.hbase.io.hfile.BlockCacheUtil | From | To |