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
public class RedisBatchExecutor<V,R> extends BaseRedisBatchExecutor<V,R>
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description RedisBatchExecutor(boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, boolean ignoreRedirect, ConnectionManager connectionManager, RedissonObjectBuilder objectBuilder, ConcurrentMap<MasterSlaveEntry,CommandBatchService.Entry> commands, BatchOptions options, AtomicInteger index, AtomicBoolean executed, RedissonObjectBuilder.ReferenceType referenceType, boolean noRetry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
Methods inherited from class org.redisson.command.BaseRedisBatchExecutor
addBatchCommandData, getEntry
-
Methods inherited from class org.redisson.command.RedisExecutor
checkAttemptPromise, convertException, free, free, getCodec, getConnection, getRedisClient, handleError, handleResult, handleSuccess, isResendAllowed, onException, releaseConnection, sendCommand
-
-
-
-
Constructor Detail
-
RedisBatchExecutor
public RedisBatchExecutor(boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, boolean ignoreRedirect, ConnectionManager connectionManager, RedissonObjectBuilder objectBuilder, ConcurrentMap<MasterSlaveEntry,CommandBatchService.Entry> commands, BatchOptions options, AtomicInteger index, AtomicBoolean executed, RedissonObjectBuilder.ReferenceType referenceType, boolean noRetry)
-
-
Method Detail
-
execute
public void execute()
- Overrides:
execute
in classRedisExecutor<V,R>
-
-