564258db791f1308b12b861aab415b3f0a472282
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 1 | ||
Push Down Method public addAccessCount(value long) : void from class org.redisson.misc.AbstractCacheMap.CachedValue to public addAccessCount(value long) : void from class org.redisson.misc.LFUCacheMap.LFUCachedValue | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type value : CachedValue to value : LFUCachedValue in method private toKey(value LFUCachedValue) : MapKey in class org.redisson.misc.LFUCacheMap | From | To | |
Change Parameter Type value : CachedValue to value : LFUCachedValue in method private addAccessCount(value LFUCachedValue, count long) : void in class org.redisson.misc.LFUCacheMap | From | To | |
Change Parameter Type cachedValue : CachedValue to cachedValue : LFUCachedValue in method public MapKey(accessCount Long, cachedValue LFUCachedValue) in class org.redisson.misc.LFUCacheMap.MapKey | From | To | |
Push Down Attribute | 1 | ||
Push Down Attribute package accessCount : long from class org.redisson.misc.AbstractCacheMap.CachedValue to package accessCount : long from class org.redisson.misc.LFUCacheMap.LFUCachedValue | From | To | |
Change Variable Type | 2 | ||
Change Variable Type entry : Map.Entry<MapKey,CachedValue> to entry : Map.Entry<MapKey,LFUCachedValue> in method protected onMapFull() : void in class org.redisson.misc.LFUCacheMap | From | To | |
Change Variable Type value : CachedValue to value : LFUCachedValue in method protected onMapFull() : void in class org.redisson.misc.LFUCacheMap | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type accessMap : ConcurrentNavigableMap<MapKey,CachedValue> to accessMap : ConcurrentNavigableMap<MapKey,LFUCachedValue> in class org.redisson.misc.LFUCacheMap | From | To | |
Change Attribute Type cachedValue : CachedValue to cachedValue : LFUCachedValue in class org.redisson.misc.LFUCacheMap.MapKey | From | To | |
Extract Method | 1 | ||
Extract Method protected create(key K, value V, ttl long, maxIdleTime long) : CachedValue extracted from public put(key K, value V, ttl long, ttlUnit TimeUnit, maxIdleTime long, maxIdleUnit TimeUnit) : V in class org.redisson.misc.AbstractCacheMap | From | To |