V
- type of valueR
- type of returned valuepublic class BaseRedisBatchExecutor<V,R> extends RedisExecutor<V,R>
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
protected void |
addBatchCommandData(Object[] batchParams) |
protected MasterSlaveEntry |
getEntry(NodeSource source) |
checkAttemptPromise, convertException, execute, free, free, getCodec, getConnection, handleError, handleResult, handleSuccess, onException, releaseConnection, sendCommand, tryHandleReference
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)
protected final MasterSlaveEntry getEntry(NodeSource source)
protected final void addBatchCommandData(Object[] batchParams)
Copyright © 2014–2020 Redisson. All rights reserved.