fac418e9f675262c9c01157a50d18a9ce6b1d0b6
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 8 | ||
Extract Method private getNodeSource(key String) : NodeSource extracted from public evalWriteAsync(key String, codec Codec, evalCommandType RedisCommand<T>, script String, keys List<Object>, params Object...) : Future<R> in class org.redisson.command.CommandAsyncService | From | To | |
Extract Method private checkConnectionFuture(source NodeSource, details AsyncDetails<V,R>) : void extracted from protected async(readOnlyMode boolean, source NodeSource, messageDecoder MultiDecoder<Object>, codec Codec, command RedisCommand<V>, params Object[], mainPromise Promise<R>, attempt int) : void in class org.redisson.command.CommandAsyncService | From | To | |
Extract Method private getNodeSource(key String) : NodeSource extracted from public writeAsync(key String, codec Codec, command RedisCommand<T>, params Object...) : Future<R> in class org.redisson.command.CommandAsyncService | From | To | |
Extract Method private releaseConnection(source NodeSource, details AsyncDetails<V,R>, connection RedisConnection) : void extracted from protected async(readOnlyMode boolean, source NodeSource, messageDecoder MultiDecoder<Object>, codec Codec, command RedisCommand<V>, params Object[], mainPromise Promise<R>, attempt int) : void in class org.redisson.command.CommandAsyncService | From | To | |
Extract Method private getNodeSource(key String) : NodeSource extracted from public evalReadAsync(key String, codec Codec, evalCommandType RedisCommand<T>, script String, keys List<Object>, params Object...) : Future<R> in class org.redisson.command.CommandAsyncService | From | To | |
Extract Method private getNodeSource(key String) : NodeSource extracted from public readAsync(key String, codec Codec, command RedisCommand<T>, params Object...) : Future<R> in class org.redisson.command.CommandAsyncService | From | To | |
Extract Method private checkAttemptFuture(source NodeSource, details AsyncDetails<V,R>, future Future<R>) : void extracted from protected async(readOnlyMode boolean, source NodeSource, messageDecoder MultiDecoder<Object>, codec Codec, command RedisCommand<V>, params Object[], mainPromise Promise<R>, attempt int) : void in class org.redisson.command.CommandAsyncService | From | To | |
Extract Method private checkWriteFuture(details AsyncDetails<V,R>, connection RedisConnection) : void extracted from protected async(readOnlyMode boolean, source NodeSource, messageDecoder MultiDecoder<Object>, codec Codec, command RedisCommand<V>, params Object[], mainPromise Promise<R>, attempt int) : void in class org.redisson.command.CommandAsyncService | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public acquire() : AsyncDetails extracted from protected async(readOnlyMode boolean, source NodeSource, messageDecoder MultiDecoder<Object>, codec Codec, command RedisCommand<V>, params Object[], mainPromise Promise<R>, attempt int) : void in class org.redisson.command.CommandAsyncService & moved to class org.redisson.command.AsyncDetails | From | To |