refactoring

pull/6367/head
Nikita Koksharov 2 months ago
parent 68efa444c9
commit 254fdd559a

@ -133,9 +133,6 @@ public interface CommandAsyncExecutor {
<T, R> RFuture<R> readRandomAsync(RedisClient client, Codec codec, RedisCommand<T> command, Object... params); <T, R> RFuture<R> readRandomAsync(RedisClient client, Codec codec, RedisCommand<T> command, Object... params);
<V, R> RFuture<R> async(boolean readOnlyMode, NodeSource source, Codec codec,
RedisCommand<V> command, Object[] params, boolean ignoreRedirect, boolean noRetry);
<V> RFuture<V> pollFromAnyAsync(String name, Codec codec, RedisCommand<?> command, long secondsTimeout, String... queueNames); <V> RFuture<V> pollFromAnyAsync(String name, Codec codec, RedisCommand<?> command, long secondsTimeout, String... queueNames);
ByteBuf encode(Codec codec, Object value); ByteBuf encode(Codec codec, Object value);

@ -632,7 +632,7 @@ public class CommandAsyncService implements CommandAsyncExecutor {
private static final AtomicBoolean SORT_RO_SUPPORTED = new AtomicBoolean(true); private static final AtomicBoolean SORT_RO_SUPPORTED = new AtomicBoolean(true);
public <V, R> RFuture<R> async(boolean readOnlyMode, NodeSource source, Codec codec, protected <V, R> RFuture<R> async(boolean readOnlyMode, NodeSource source, Codec codec,
RedisCommand<V> command, Object[] params, boolean ignoreRedirect, boolean noRetry) { RedisCommand<V> command, Object[] params, boolean ignoreRedirect, boolean noRetry) {
RedisCommand<V> cmnd = getServiceManager().resp3(command); RedisCommand<V> cmnd = getServiceManager().resp3(command);

@ -69,7 +69,7 @@ public class CommandReactiveBatchService extends CommandReactiveService implemen
} }
@Override @Override
public <V, R> RFuture<R> async(boolean readOnlyMode, NodeSource nodeSource, protected <V, R> RFuture<R> async(boolean readOnlyMode, NodeSource nodeSource,
Codec codec, RedisCommand<V> command, Object[] params, boolean ignoreRedirect, boolean noRetry) { Codec codec, RedisCommand<V> command, Object[] params, boolean ignoreRedirect, boolean noRetry) {
return batchService.async(readOnlyMode, nodeSource, codec, command, params, ignoreRedirect, noRetry); return batchService.async(readOnlyMode, nodeSource, codec, command, params, ignoreRedirect, noRetry);
} }

@ -70,7 +70,7 @@ public class CommandRxBatchService extends CommandRxService implements BatchServ
} }
@Override @Override
public <V, R> RFuture<R> async(boolean readOnlyMode, NodeSource nodeSource, protected <V, R> RFuture<R> async(boolean readOnlyMode, NodeSource nodeSource,
Codec codec, RedisCommand<V> command, Object[] params, boolean ignoreRedirect, boolean noRetry) { Codec codec, RedisCommand<V> command, Object[] params, boolean ignoreRedirect, boolean noRetry) {
return batchService.async(readOnlyMode, nodeSource, codec, command, params, ignoreRedirect, noRetry); return batchService.async(readOnlyMode, nodeSource, codec, command, params, ignoreRedirect, noRetry);
} }

Loading…
Cancel
Save