public class CommandBatchService extends CommandAsyncService
| Modifier and Type | Class and Description |
|---|---|
static class |
CommandBatchService.ConnectionEntry |
static class |
CommandBatchService.Entry |
| Constructor and Description |
|---|
CommandBatchService(ConnectionManager connectionManager) |
CommandBatchService(ConnectionManager connectionManager,
BatchOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(RFuture<?> future,
List<CommandBatchService> services) |
<V,R> void |
async(boolean readOnlyMode,
NodeSource nodeSource,
Codec codec,
RedisCommand<V> command,
Object[] params,
RPromise<R> mainPromise,
boolean ignoreRedirect) |
<R> RPromise<R> |
createPromise() |
BatchResult<?> |
execute() |
BatchResult<?> |
execute(BatchOptions options) |
RFuture<List<?>> |
executeAsync() |
<R> RFuture<R> |
executeAsync(BatchOptions options) |
RFuture<Void> |
executeAsyncVoid() |
BatchOptions |
getOptions() |
protected void |
handle(RPromise<Void> mainPromise,
AtomicInteger slots,
RFuture<?> future) |
protected boolean |
isEvalCacheActive() |
protected boolean |
isRedisBasedQueue() |
protected boolean |
isWaitCommand(CommandData<?,?> c) |
convertException, enableRedissonReferenceSupport, enableRedissonReferenceSupport, enableRedissonReferenceSupport, evalAllAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, evalWriteAsync, get, getConnectionManager, getInterrupted, getObjectBuilder, isRedissonReferenceSupportEnabled, pollFromAnyAsync, readAllAsync, readAllAsync, readAllAsync, readAllAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readBatchedAsync, readRandomAsync, readRandomAsync, syncSubscription, syncSubscriptionInterrupted, writeAllAsync, writeAllAsync, writeAllAsync, writeAsync, writeAsync, writeAsync, writeAsync, writeBatchedAsyncpublic CommandBatchService(ConnectionManager connectionManager)
public CommandBatchService(ConnectionManager connectionManager, BatchOptions options)
public BatchOptions getOptions()
public void add(RFuture<?> future, List<CommandBatchService> services)
public <V,R> void async(boolean readOnlyMode,
NodeSource nodeSource,
Codec codec,
RedisCommand<V> command,
Object[] params,
RPromise<R> mainPromise,
boolean ignoreRedirect)
async in class CommandAsyncServicepublic <R> RPromise<R> createPromise()
createPromise in class CommandAsyncServicepublic BatchResult<?> execute()
public BatchResult<?> execute(BatchOptions options)
public <R> RFuture<R> executeAsync(BatchOptions options)
protected boolean isRedisBasedQueue()
protected boolean isWaitCommand(CommandData<?,?> c)
protected void handle(RPromise<Void> mainPromise, AtomicInteger slots, RFuture<?> future)
protected boolean isEvalCacheActive()
isEvalCacheActive in class CommandAsyncServiceCopyright © 2014–2019 Redisson. All rights reserved.