ba4f9f834948e6f042e771ae5ee016610afe928c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 25
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public getL2Stats() : CacheStats renamed to public getL2CacheStats() : CacheStats in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Method public getLruCacheSize(conf Configuration) : long renamed to public getOnHeapCacheSize(conf Configuration) : long in class org.apache.hadoop.hbase.io.util.MemorySizeUtil | From | To | |
Rename Method public getL1Stats() : CacheStats renamed to public getOnHeapCacheStats() : CacheStats in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Method private getL1Internal(c Configuration) : LruBlockCache renamed to private getOnHeapCacheInternal(c Configuration) : LruBlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public cacheBlock(cacheKey BlockCacheKey, buf Cacheable, inMemory boolean, cacheDataInL1 boolean) : void moved from class org.apache.hadoop.hbase.io.hfile.InclusiveCombinedBlockCache to class org.apache.hadoop.hbase.io.hfile.CombinedBlockCache & inlined to public cacheBlock(cacheKey BlockCacheKey, buf Cacheable, inMemory boolean) : void | From | To | |
Rename Variable | 2 | ||
Rename Variable lruCacheSize : long to cacheSize : long in method private getOnHeapCacheInternal(c Configuration) : LruBlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Variable l1Cache : ResizableBlockCache to lruCache : ResizableBlockCache in method public create(conf Configuration, memStoreFlusher FlushRequester, server Server, regionServerAccounting RegionServerAccounting) : HeapMemoryManager in class org.apache.hadoop.hbase.regionserver.HeapMemoryManager | From | To | |
Change Return Type | 1 | ||
Change Return Type BlockCache to BucketCache in method package getBucketCache(c Configuration) : BucketCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Attribute | 3 | ||
Rename Attribute GLOBAL_L2_CACHE_INSTANCE : BlockCache to L2_CACHE_INSTANCE : BlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Attribute lruCache : LruBlockCache to onHeapCache : LruBlockCache in class org.apache.hadoop.hbase.io.hfile.CombinedBlockCache | From | To | |
Rename Attribute GLOBAL_L1_CACHE_INSTANCE : LruBlockCache to ONHEAP_CACHE_INSTANCE : LruBlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Parameter | 1 | ||
Rename Parameter lruCache : LruBlockCache to onHeapCache : LruBlockCache in method public CombinedBlockCache(onHeapCache LruBlockCache, l2Cache BlockCache) in class org.apache.hadoop.hbase.io.hfile.CombinedBlockCache | From | To |