9e0c2562a95638600781cb894c0ae7bb404573ca
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 10
Link to commit
Third party dependencies:
| Dependency Action | |
|---|---|
| Added | |
| com.github.ben-manes.caffeine:caffeine:2.3.3 |
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method package getLruCacheSize(conf Configuration, xmx long) : long renamed to package getFirstLevelCacheSize(conf Configuration, xmx long) : long in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type l1 : LruBlockCache to l1 : FirstLevelBlockCache in method public InclusiveCombinedBlockCache(l1 FirstLevelBlockCache, l2 BlockCache) in class org.apache.hadoop.hbase.io.hfile.InclusiveCombinedBlockCache | From | To | |
| Change Parameter Type lruCache : LruBlockCache to l1Cache : FirstLevelBlockCache in method public CombinedBlockCache(l1Cache FirstLevelBlockCache, l2Cache BlockCache) in class org.apache.hadoop.hbase.io.hfile.CombinedBlockCache | From | To | |
| Rename Variable | 1 | ||
| Rename Variable combinedWithLru : boolean to combinedWithL1 : boolean in method public instantiateBlockCache(conf Configuration) : BlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
| Change Return Type | 2 | ||
| Change Return Type LruBlockCache to FirstLevelBlockCache in method private getL1(cacheSize long, c Configuration) : FirstLevelBlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
| Change Return Type LruBlockCache to FirstLevelBlockCache in method public getL1(c Configuration) : FirstLevelBlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable lruCacheSize : long to cacheSize : long in method private getL1(cacheSize long, c Configuration) : FirstLevelBlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute lruCache : LruBlockCache to l1Cache : FirstLevelBlockCache in class org.apache.hadoop.hbase.io.hfile.CombinedBlockCache | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type klass : Class to klass : Class<?> in method private getExternalBlockcache(c Configuration) : BlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
| Extract Interface | 1 | ||
| Extract Interface org.apache.hadoop.hbase.io.hfile.FirstLevelBlockCache from classes [org.apache.hadoop.hbase.io.hfile.LruBlockCache] | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type GLOBAL_L1_CACHE_INSTANCE : LruBlockCache to GLOBAL_L1_CACHE_INSTANCE : FirstLevelBlockCache in class org.apache.hadoop.hbase.io.hfile.CacheConfig | From | To | |
| Change Attribute Type lruCache : LruBlockCache to l1Cache : FirstLevelBlockCache in class org.apache.hadoop.hbase.io.hfile.CombinedBlockCache | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter handler : BlockCache to victimCache : BlockCache in method public setVictimCache(victimCache BlockCache) : void in class org.apache.hadoop.hbase.io.hfile.LruBlockCache | From | To | |
| Rename Parameter lruCache : LruBlockCache to l1Cache : FirstLevelBlockCache in method public CombinedBlockCache(l1Cache FirstLevelBlockCache, l2Cache BlockCache) in class org.apache.hadoop.hbase.io.hfile.CombinedBlockCache | From | To |