Package org.redisson.command
Class RedisBatchExecutor<V,R>
java.lang.Object
org.redisson.command.RedisExecutor<V,R>
org.redisson.command.BaseRedisBatchExecutor<V,R>
org.redisson.command.RedisBatchExecutor<V,R>
- Type Parameters:
V
- type of valueR
- type of returned value
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorDescriptionRedisBatchExecutor
(boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, CompletableFuture<R> mainPromise, boolean ignoreRedirect, ConnectionManager connectionManager, RedissonObjectBuilder objectBuilder, ConcurrentMap<NodeSource, CommandBatchService.Entry> commands, BatchOptions options, AtomicInteger index, AtomicBoolean executed, RedissonObjectBuilder.ReferenceType referenceType, boolean noRetry) -
Method Summary
Methods inherited from class org.redisson.command.BaseRedisBatchExecutor
addBatchCommandData
Methods inherited from class org.redisson.command.RedisExecutor
cause, checkAttemptPromise, convertException, free, free, getCodec, getConnection, getNow, getRedisClient, handleError, handleResult, handleSuccess, isResendAllowed, onException, releaseConnection, sendCommand
-
Constructor Details
-
RedisBatchExecutor
public RedisBatchExecutor(boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, CompletableFuture<R> mainPromise, boolean ignoreRedirect, ConnectionManager connectionManager, RedissonObjectBuilder objectBuilder, ConcurrentMap<NodeSource, CommandBatchService.Entry> commands, BatchOptions options, AtomicInteger index, AtomicBoolean executed, RedissonObjectBuilder.ReferenceType referenceType, boolean noRetry)
-
-
Method Details
-
execute
public void execute()- Overrides:
execute
in classRedisExecutor<V,
R>
-