c3ef66b23d69f543ca27b91f0eb14468358977da
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [mapLoader : MapLoader<K,V>, mapWriter : MapWriter<K,V>] to options : MapOptions<K,V> in class org.redisson.RedissonMap | From | To | |
Pull Up Method | 4 | ||
Pull Up Method public getMapLoader() : MapLoader<K,V> from class org.redisson.api.LocalCachedMapOptions to public getLoader() : MapLoader<K,V> from class org.redisson.api.MapOptions | From | To | |
Pull Up Method public getMapWriter() : MapWriter<K,V> from class org.redisson.api.LocalCachedMapOptions to public getWriter() : MapWriter<K,V> from class org.redisson.api.MapOptions | From | To | |
Pull Up Method public mapWriter(writer MapWriter<K,V>) : LocalCachedMapOptions<K,V> from class org.redisson.api.LocalCachedMapOptions to public writer(writer MapWriter<K,V>, writeMode WriteMode) : MapOptions<K,V> from class org.redisson.api.MapOptions | From | To | |
Pull Up Method public mapLoader(loader MapLoader<K,V>) : LocalCachedMapOptions<K,V> from class org.redisson.api.LocalCachedMapOptions to public loader(loader MapLoader<K,V>) : MapOptions<K,V> from class org.redisson.api.MapOptions | From | To | |
Change Return Type | 2 | ||
Change Return Type LocalCachedMapOptions<K,V> to MapOptions<K,V> in method public loader(loader MapLoader<K,V>) : MapOptions<K,V> in class org.redisson.api.MapOptions | From | To | |
Change Return Type LocalCachedMapOptions<K,V> to MapOptions<K,V> in method public writer(writer MapWriter<K,V>, writeMode WriteMode) : MapOptions<K,V> in class org.redisson.api.MapOptions | From | To | |
Rename Class | 1 | ||
Rename Class org.redisson.MapWriterExecutorPromise renamed to org.redisson.MapWriterTask | From | To | |
Merge Parameter | 6 | ||
Merge Parameter [mapLoader : MapLoader<K,V>, mapWriter : MapWriter<K,V>] to options : MapOptions<K,V> in method public getMap(name String, codec Codec, options MapOptions<K,V>) : RMap<K,V> in class org.redisson.Redisson | From | To | |
Merge Parameter [mapLoader : MapLoader<K,V>, mapWriter : MapWriter<K,V>] to options : MapOptions<K,V> in method public RedissonMapCache(codec Codec, evictionScheduler EvictionScheduler, commandExecutor CommandAsyncExecutor, name String, redisson RedissonClient, options MapOptions<K,V>) in class org.redisson.RedissonMapCache | From | To | |
Merge Parameter [mapLoader : MapLoader<K,V>, mapWriter : MapWriter<K,V>] to options : MapOptions<K,V> in method public RedissonMapCache(evictionScheduler EvictionScheduler, commandExecutor CommandAsyncExecutor, name String, redisson RedissonClient, options MapOptions<K,V>) in class org.redisson.RedissonMapCache | From | To | |
Merge Parameter [mapLoader : MapLoader<K,V>, mapWriter : MapWriter<K,V>] to options : MapOptions<K,V> in method public getMapCache(name String, options MapOptions<K,V>) : RMapCache<K,V> in class org.redisson.Redisson | From | To | |
Merge Parameter [mapLoader : MapLoader<K,V>, mapWriter : MapWriter<K,V>] to options : MapOptions<K,V> in method public getMapCache(name String, codec Codec, options MapOptions<K,V>) : RMapCache<K,V> in class org.redisson.Redisson | From | To | |
Merge Parameter [mapLoader : MapLoader<K,V>, mapWriter : MapWriter<K,V>] to options : MapOptions<K,V> in method public getMap(name String, options MapOptions<K,V>) : RMap<K,V> in class org.redisson.Redisson | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.redisson.api.MapOptions from classes [org.redisson.api.LocalCachedMapOptions] | From | To | |
Extract Method | 18 | ||
Extract Method protected hasNoLoader() : boolean extracted from public getAsync(key K) : RFuture<V> in class org.redisson.RedissonMap | From | To | |
Extract Method protected mapWriterFuture(future RFuture<M>, listener MapWriterTask<M>) : RFuture<M> extracted from public putAllAsync(map Map<? extends K,? extends V>) : RFuture<Void> in class org.redisson.RedissonMap | From | To | |
Extract Method protected mapWriterFuture(future RFuture<M>, listener MapWriterTask<M>) : RFuture<M> extracted from public putAsync(key K, value V) : RFuture<V> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoLoader() : boolean extracted from public getAllAsync(keys Set<K>) : RFuture<Map<K,V>> in class org.redisson.RedissonMap | From | To | |
Extract Method protected mapWriterFuture(future RFuture<M>, listener MapWriterTask<M>) : RFuture<M> extracted from public addAndGetAsync(key K, value Number) : RFuture<V> in class org.redisson.RedissonMap | From | To | |
Extract Method protected mapWriterFuture(future RFuture<M>, listener MapWriterTask<M>) : RFuture<M> extracted from public fastPutAsync(key K, value V) : RFuture<Boolean> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoWriter() : boolean extracted from public fastPutIfAbsentAsync(key K, value V) : RFuture<Boolean> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoWriter() : boolean extracted from public fastPutAsync(key K, value V) : RFuture<Boolean> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoWriter() : boolean extracted from public replaceAsync(key K, value V) : RFuture<V> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoWriter() : boolean extracted from public removeAsync(key Object, value Object) : RFuture<Boolean> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoWriter() : boolean extracted from public addAndGetAsync(key K, value Number) : RFuture<V> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoWriter() : boolean extracted from public putAllAsync(map Map<? extends K,? extends V>) : RFuture<Void> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoWriter() : boolean extracted from public putIfAbsentAsync(key K, value V) : RFuture<V> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoWriter() : boolean extracted from public putAsync(key K, value V) : RFuture<V> in class org.redisson.RedissonMap | From | To | |
Extract Method protected mapWriterFuture(future RFuture<M>, listener MapWriterTask<M>) : RFuture<M> extracted from public removeAsync(key K) : RFuture<V> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoWriter() : boolean extracted from public replaceAsync(key K, oldValue V, newValue V) : RFuture<Boolean> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoWriter() : boolean extracted from public removeAsync(key K) : RFuture<V> in class org.redisson.RedissonMap | From | To | |
Extract Method protected hasNoWriter() : boolean extracted from public fastRemoveAsync(keys K...) : RFuture<Long> in class org.redisson.RedissonMap | From | To | |
Extract And Move Method | 46 | ||
Extract And Move Method protected mapWriterFuture(future RFuture<M>, listener MapWriterTask<M>) : RFuture<M> extracted from public fastPutAsync(key K, value V, ttl long, ttlUnit TimeUnit, maxIdleTime long, maxIdleUnit TimeUnit) : RFuture<Boolean> in class org.redisson.RedissonMapCache & moved to class org.redisson.RedissonMap | From | To | |
Extract And Move Method protected hasNoWriter() : boolean extracted from public fastPutAsync(key K, value V, ttl long, ttlUnit TimeUnit, maxIdleTime long, maxIdleUnit TimeUnit) : RFuture<Boolean> in class org.redisson.RedissonMapCache & moved to class org.redisson.RedissonMap | From | To | |
Extract And Move Method protected hasNoWriter() : boolean extracted from public fastPutIfAbsentAsync(key K, value V, ttl long, ttlUnit TimeUnit, maxIdleTime long, maxIdleUnit TimeUnit) : RFuture<Boolean> in class org.redisson.RedissonMapCache & moved to class org.redisson.RedissonMap | From | To | |
Extract And Move Method protected mapWriterFuture(future RFuture<M>, listener MapWriterTask<M>) : RFuture<M> extracted from public putAsync(key K, value V, ttl long, ttlUnit TimeUnit, maxIdleTime long, maxIdleUnit TimeUnit) : RFuture<V> in class org.redisson.RedissonMapCache & moved to class org.redisson.RedissonMap | From | To | |
Extract And Move Method protected hasNoWriter() : boolean extracted from public putAsync(key K, value V, ttl long, ttlUnit TimeUnit, maxIdleTime long, maxIdleUnit TimeUnit) : RFuture<V> in class org.redisson.RedissonMapCache & moved to class org.redisson.RedissonMap | From | To | |
Extract And Move Method protected hasNoWriter() : boolean extracted from public putIfAbsentAsync(key K, value V, ttl long, ttlUnit TimeUnit, maxIdleTime long, maxIdleUnit TimeUnit) : RFuture<V> in class org.redisson.RedissonMapCache & moved to class org.redisson.RedissonMap | From | To |