public class CommandBatchService extends CommandAsyncService
Modifier and Type | Class and Description |
---|---|
static class |
CommandBatchService.Entry |
redisson, redissonReactive
Constructor and Description |
---|
CommandBatchService(ConnectionManager connectionManager) |
Modifier and Type | Method and Description |
---|---|
protected <V,R> void |
async(boolean readOnlyMode,
NodeSource nodeSource,
Codec codec,
RedisCommand<V> command,
Object[] params,
RPromise<R> mainPromise,
int attempt) |
BatchResult<?> |
execute() |
BatchResult<?> |
execute(int syncSlaves,
long syncTimeout,
boolean noResult,
long responseTimeout,
int retryAttempts,
long retryInterval) |
RFuture<List<?>> |
executeAsync() |
<R> RFuture<R> |
executeAsync(int syncSlaves,
long syncTimeout,
boolean skipResult,
long responseTimeout,
int retryAttempts,
long retryInterval) |
RFuture<Void> |
executeAsyncVoid() |
protected void |
free(CommandBatchService.Entry entry) |
protected boolean |
isWaitCommand(BatchCommandData<?,?> c) |
await, convertException, enableRedissonReferenceSupport, enableRedissonReferenceSupport, evalAllAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, evalWriteAsync, evalWriteAsync, free, free, get, getConnectionManager, isRedissonReferenceSupportEnabled, readAllAsync, readAllAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readRandomAsync, releaseConnection, syncSubscription, tryHandleReference, writeAllAsync, writeAllAsync, writeAsync, writeAsync, writeAsync, writeAsync
public CommandBatchService(ConnectionManager connectionManager)
protected <V,R> void async(boolean readOnlyMode, NodeSource nodeSource, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, int attempt)
async
in class CommandAsyncService
public BatchResult<?> execute()
public BatchResult<?> execute(int syncSlaves, long syncTimeout, boolean noResult, long responseTimeout, int retryAttempts, long retryInterval)
public <R> RFuture<R> executeAsync(int syncSlaves, long syncTimeout, boolean skipResult, long responseTimeout, int retryAttempts, long retryInterval)
protected void free(CommandBatchService.Entry entry)
protected boolean isWaitCommand(BatchCommandData<?,?> c)
Copyright © 2014–2017 The Redisson Project. All rights reserved.