Package org.redisson.command
Class BaseRedisBatchExecutor<V,R>
- java.lang.Object
-
- org.redisson.command.RedisExecutor<V,R>
-
- org.redisson.command.BaseRedisBatchExecutor<V,R>
-
- Type Parameters:
V
- type of valueR
- type of returned value
- Direct Known Subclasses:
RedisBatchExecutor
,RedisQueuedBatchExecutor
public class BaseRedisBatchExecutor<V,R> extends RedisExecutor<V,R>
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description BaseRedisBatchExecutor(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 protected void
addBatchCommandData(Object[] batchParams)
protected MasterSlaveEntry
getEntry(NodeSource source)
-
Methods inherited from class org.redisson.command.RedisExecutor
checkAttemptPromise, convertException, execute, free, free, getCodec, getConnection, getRedisClient, handleError, handleResult, handleSuccess, isResendAllowed, onException, releaseConnection, sendCommand
-
-
-
-
Constructor Detail
-
BaseRedisBatchExecutor
public BaseRedisBatchExecutor(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
-
getEntry
protected final MasterSlaveEntry getEntry(NodeSource source)
-
addBatchCommandData
protected final void addBatchCommandData(Object[] batchParams)
-
-