cd595c130b76b6dc261ec00b517a3bb11c5e1f4e
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 3 | ||
Rename Variable value : V to future : RFuture<V> in method public getAndRemove(key K) : V in class org.redisson.jcache.JCache | From | To | |
Rename Variable result : V to value : V in method private getAndRemoveValuesResult(keys Collection<K>, result RPromise<Map<K,V>>, r List<Object>, nullsAmount long) : void in class org.redisson.jcache.JCache | From | To | |
Rename Variable removedKeys : long to future : RFuture<Long> in method public removeAllAsync(keys Set<? extends K>) : RFuture<Void> in class org.redisson.jcache.JCache | From | To | |
Change Return Type | 12 | ||
Change Return Type boolean to RFuture<Boolean> in method package removeValue(key K) : RFuture<Boolean> in class org.redisson.jcache.JCache | From | To | |
Change Return Type List<Object> to RFuture<List<Object>> in method package getAndPutValue(key K, value V) : RFuture<List<Object>> in class org.redisson.jcache.JCache | From | To | |
Change Return Type long to RFuture<Long> in method package replaceValue(key K, oldValue V, newValue V) : RFuture<Long> in class org.redisson.jcache.JCache | From | To | |
Change Return Type V to RFuture<V> in method package getAndReplaceValue(key K, value V) : RFuture<V> in class org.redisson.jcache.JCache | From | To | |
Change Return Type V to RFuture<V> in method package getAndRemoveValue(key K) : RFuture<V> in class org.redisson.jcache.JCache | From | To | |
Change Return Type long to RFuture<Long> in method package putAllValues(map Map<? extends K,? extends V>) : RFuture<Long> in class org.redisson.jcache.JCache | From | To | |
Change Return Type boolean to RFuture<Boolean> in method package removeValue(key K, value V) : RFuture<Boolean> in class org.redisson.jcache.JCache | From | To | |
Change Return Type boolean to RFuture<Boolean> in method package putIfAbsentValue(key K, value Object) : RFuture<Boolean> in class org.redisson.jcache.JCache | From | To | |
Change Return Type boolean to RFuture<Boolean> in method package putValue(key K, value Object) : RFuture<Boolean> in class org.redisson.jcache.JCache | From | To | |
Change Return Type long to RFuture<Long> in method package removeValues(keys Object...) : RFuture<Long> in class org.redisson.jcache.JCache | From | To | |
Change Return Type V to RFuture<V> in method package getValue(key K) : RFuture<V> in class org.redisson.jcache.JCache | From | To | |
Change Return Type boolean to RFuture<Boolean> in method package replaceValue(key K, value V) : RFuture<Boolean> in class org.redisson.jcache.JCache | From | To | |
Change Variable Type | 6 | ||
Change Variable Type res : Map<K,V> to res : RFuture<Map<K,V>> in method public getAllAsync(keys Set<? extends K>) : RFuture<Map<K,V>> in class org.redisson.jcache.JCache | From | To | |
Change Variable Type result : Map<K,V> to result : RPromise<Map<K,V>> in method public getAllAsync(keys Set<? extends K>) : RFuture<Map<K,V>> in class org.redisson.jcache.JCache | From | To | |
Change Variable Type res : List<Object> to res : RFuture<List<Object>> in method package putValue(key K, value Object) : RFuture<Boolean> in class org.redisson.jcache.JCache | From | To | |
Change Variable Type result : boolean to result : RFuture<Boolean> in method public removeAsync(key K) : RFuture<Boolean> in class org.redisson.jcache.JCache | From | To | |
Change Variable Type value : V to future : RFuture<V> in method public getAndRemove(key K) : V in class org.redisson.jcache.JCache | From | To | |
Change Variable Type removedKeys : long to future : RFuture<Long> in method public removeAllAsync(keys Set<? extends K>) : RFuture<Void> in class org.redisson.jcache.JCache | From | To | |
Inline Variable | 2 | ||
Inline Variable key : K in method public putAll(map Map<? extends K,? extends V>) : void from class org.redisson.jcache.JCache | From | To | |
Inline Variable value : V in method public putAll(map Map<? extends K,? extends V>) : void from class org.redisson.jcache.JCache | From | To | |
Extract Method | 17 | ||
Extract Method public putAllAsync(map Map<? extends K,? extends V>) : RFuture<Void> extracted from public putAll(map Map<? extends K,? extends V>) : void in class org.redisson.jcache.JCache | From | To | |
Extract Method public getAllAsync(keys Set<? extends K>) : RFuture<Map<K,V>> extracted from public getAll(keys Set<? extends K>) : Map<K,V> in class org.redisson.jcache.JCache | From | To | |
Extract Method private getAndRemoveValuesResult(keys Collection<K>, result RPromise<Map<K,V>>, r List<Object>, nullsAmount long) : void extracted from public removeAll(keys Set<? extends K>) : void in class org.redisson.jcache.JCache | From | To | |
Extract Method public replaceAsync(key K, oldValue V, newValue V) : RFuture<Boolean> extracted from public replace(key K, oldValue V, newValue V) : boolean in class org.redisson.jcache.JCache | From | To | |
Extract Method public containsKeyAsync(key K) : RFuture<Boolean> extracted from public containsKey(key K) : boolean in class org.redisson.jcache.JCache | From | To | |
Extract Method public clearAsync() : RFuture<Void> extracted from public clear() : void in class org.redisson.jcache.JCache | From | To | |
Extract Method private writeCache(key K, value V, result RPromise<Void>, startTime long, res List<Object>, added Long) : void extracted from public getAndPut(key K, value V) : V in class org.redisson.jcache.JCache | From | To | |
Extract Method public getAndPutAsync(key K, value V) : RFuture<V> extracted from public getAndPut(key K, value V) : V in class org.redisson.jcache.JCache | From | To | |
Extract Method public getAsync(key K) : RFuture<V> extracted from public get(key K) : V in class org.redisson.jcache.JCache | From | To | |
Extract Method public putAsync(key K, value V) : RFuture<Void> extracted from public put(key K, value V) : void in class org.redisson.jcache.JCache | From | To | |
Extract Method public removeAsync(key K) : RFuture<Boolean> extracted from public remove(key K) : boolean in class org.redisson.jcache.JCache | From | To | |
Extract Method public putIfAbsentAsync(key K, value V) : RFuture<Boolean> extracted from public putIfAbsent(key K, value V) : boolean in class org.redisson.jcache.JCache | From | To | |
Extract Method public getAndReplaceAsync(key K, value V) : RFuture<V> extracted from public getAndReplace(key K, value V) : V in class org.redisson.jcache.JCache | From | To | |
Extract Method public removeAsync(key K, value V) : RFuture<Boolean> extracted from public remove(key K, value V) : boolean in class org.redisson.jcache.JCache | From | To | |
Extract Method public getAndRemoveAsync(key K) : RFuture<V> extracted from public getAndRemove(key K) : V in class org.redisson.jcache.JCache | From | To | |
Extract Method public removeAllAsync(keys Set<? extends K>) : RFuture<Void> extracted from public removeAll(keys Set<? extends K>) : void in class org.redisson.jcache.JCache | From | To | |
Extract Method public replaceAsync(key K, value V) : RFuture<Boolean> extracted from public replace(key K, value V) : boolean in class org.redisson.jcache.JCache | From | To |