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
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorDescriptionBaseRedisBatchExecutor
(boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, CompletableFuture<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
Modifier and TypeMethodDescriptionprotected final void
addBatchCommandData
(Object[] batchParams) protected final MasterSlaveEntry
getEntry
(NodeSource source) Methods inherited from class org.redisson.command.RedisExecutor
cause, checkAttemptPromise, convertException, execute, free, free, getCodec, getConnection, getNow, getRedisClient, handleError, handleResult, handleSuccess, isResendAllowed, onException, releaseConnection, sendCommand
-
Constructor Details
-
BaseRedisBatchExecutor
public BaseRedisBatchExecutor(boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, CompletableFuture<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 Details
-
getEntry
-
addBatchCommandData
-