d107e33fcddf83b49967a677a52f091a5d29d796
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 25
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public getOnHeapCacheSize(conf Configuration) : long renamed to public getLruCacheSize(conf Configuration) : long in class org.apache.hadoop.hbase.io.util.MemorySizeUtil | From | To | |
Rename Method public getOnHeapCacheStats() : CacheStats renamed to public getL1Stats() : CacheStats in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Method public getL2CacheStats() : CacheStats renamed to public getL2Stats() : CacheStats in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Method private getOnHeapCacheInternal(c Configuration) : LruBlockCache renamed to private getL1Internal(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) : 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, cacheDataInL1 boolean) : void | From | To | |
Rename Variable | 2 | ||
Rename Variable cacheSize : long to lruCacheSize : long in method private getL1Internal(c Configuration) : LruBlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Variable lruCache : ResizableBlockCache to l1Cache : 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 BucketCache to BlockCache in method private getBucketCache(c Configuration) : BlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Attribute | 3 | ||
Rename Attribute ONHEAP_CACHE_INSTANCE : LruBlockCache to GLOBAL_L1_CACHE_INSTANCE : LruBlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Attribute L2_CACHE_INSTANCE : BlockCache to GLOBAL_L2_CACHE_INSTANCE : BlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
Rename Attribute onHeapCache : LruBlockCache to lruCache : LruBlockCache in class org.apache.hadoop.hbase.io.hfile.CombinedBlockCache | From | To | |
Rename Parameter | 1 | ||
Rename Parameter onHeapCache : LruBlockCache to lruCache : LruBlockCache in method public CombinedBlockCache(lruCache LruBlockCache, l2Cache BlockCache) in class org.apache.hadoop.hbase.io.hfile.CombinedBlockCache | From | To |