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() |
protected void |
execute(CommandBatchService.Entry entry,
NodeSource source,
RPromise<Void> mainPromise,
AtomicInteger slots,
int attempt,
boolean noResult,
long responseTimeout,
int retryAttempts,
long retryInterval) |
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) |
await, convertException, enableRedissonReferenceSupport, enableRedissonReferenceSupport, evalAllAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, evalWriteAsync, evalWriteAsync, get, getConnectionManager, isRedissonReferenceSupportEnabled, readAllAsync, readAllAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readRandomAsync, releaseConnection, syncSubscription, writeAllAsync, writeAllAsync, writeAsync, writeAsync, writeAsync, writeAsyncpublic 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 CommandAsyncServicepublic 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 execute(CommandBatchService.Entry entry, NodeSource source, RPromise<Void> mainPromise, AtomicInteger slots, int attempt, boolean noResult, long responseTimeout, int retryAttempts, long retryInterval)
Copyright © 2014–2017 The Redisson Project. All rights reserved.