public class CommandBatchService extends CommandReactiveService
Modifier and Type | Class and Description |
---|---|
static class |
CommandBatchService.CommandEntry |
static class |
CommandBatchService.Entry |
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,
io.netty.util.concurrent.Promise<R> mainPromise,
int attempt) |
List<?> |
execute() |
void |
execute(CommandBatchService.Entry entry,
NodeSource source,
io.netty.util.concurrent.Promise<Void> mainPromise,
AtomicInteger slots,
int attempt) |
io.netty.util.concurrent.Future<List<?>> |
executeAsync() |
io.netty.util.concurrent.Future<Void> |
executeAsyncVoid() |
evalReadReactive, evalReadReactive, evalWriteAllReactive, evalWriteReactive, reactive, readAllReactive, readRandomReactive, readReactive, readReactive, readReactive, writeAllReactive, writeAllReactive, writeReactive, writeReactive, writeReactive
convertException, evalAllAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, evalWriteAsync, get, getConnectionManager, readAllAsync, readAllAsync, readAsync, readAsync, readAsync, readAsync, readRandomAsync, releaseConnection, writeAllAsync, writeAllAsync, writeAsync, writeAsync, writeAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConnectionManager
convertException, evalReadAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, evalWriteAsync, get, readAllAsync, readAllAsync, readAsync, readAsync, readAsync, readAsync, readRandomAsync, writeAllAsync, writeAllAsync, writeAsync, writeAsync, writeAsync
public CommandBatchService(ConnectionManager connectionManager)
protected <V,R> void async(boolean readOnlyMode, NodeSource nodeSource, Codec codec, RedisCommand<V> command, Object[] params, io.netty.util.concurrent.Promise<R> mainPromise, int attempt)
async
in class CommandAsyncService
public List<?> execute()
public io.netty.util.concurrent.Future<Void> executeAsyncVoid()
public io.netty.util.concurrent.Future<List<?>> executeAsync()
public void execute(CommandBatchService.Entry entry, NodeSource source, io.netty.util.concurrent.Promise<Void> mainPromise, AtomicInteger slots, int attempt)
Copyright © 2014–2016. All rights reserved.