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) |
List<?> |
execute() |
List<?> |
execute(long responseTimeout,
int retryAttempts,
long retryInterval) |
RFuture<List<?>> |
executeAsync() |
RFuture<List<?>> |
executeAsync(long responseTimeout,
int retryAttempts,
long retryInterval) |
RFuture<Void> |
executeAsyncVoid() |
protected RFuture<Void> |
executeAsyncVoid(boolean noResult,
long responseTimeout,
int retryAttempts,
long retryInterval) |
void |
executeSkipResult(long timeout,
int retryAttempts,
long retryInterval) |
RFuture<Void> |
executeSkipResultAsync(long timeout,
int retryAttempts,
long retryInterval) |
protected void |
free(CommandBatchService.Entry entry) |
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, 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 List<?> execute()
public List<?> execute(long responseTimeout, int retryAttempts, long retryInterval)
protected RFuture<Void> executeAsyncVoid(boolean noResult, long responseTimeout, int retryAttempts, long retryInterval)
public void executeSkipResult(long timeout, int retryAttempts, long retryInterval)
public RFuture<Void> executeSkipResultAsync(long timeout, int retryAttempts, long retryInterval)
public RFuture<List<?>> executeAsync(long responseTimeout, int retryAttempts, long retryInterval)
protected void free(CommandBatchService.Entry entry)
Copyright © 2014–2017 The Redisson Project. All rights reserved.