public class CommandReactiveBatchService extends CommandReactiveService
Constructor and Description |
---|
CommandReactiveBatchService(ConnectionManager connectionManager,
CommandReactiveExecutor commandExecutor,
BatchOptions options) |
Modifier and Type | Method and Description |
---|---|
<V,R> void |
async(boolean readOnlyMode,
NodeSource nodeSource,
Codec codec,
RedisCommand<V> command,
Object[] params,
RPromise<R> mainPromise,
boolean ignoreRedirect) |
protected <R> RPromise<R> |
createPromise() |
RFuture<BatchResult<?>> |
executeAsync() |
<R> reactor.core.publisher.Mono<R> |
reactive(Callable<RFuture<R>> supplier) |
convertException, encode, encodeMapKey, encodeMapValue, evalAllAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, evalWriteAsync, get, getConnectionManager, getInterrupted, getObjectBuilder, isEvalCacheActive, 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, writeAsync, writeBatchedAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertException, encode, encodeMapKey, encodeMapValue, evalReadAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, evalWriteAsync, get, getConnectionManager, getInterrupted, getObjectBuilder, 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, writeAsync, writeBatchedAsync
public CommandReactiveBatchService(ConnectionManager connectionManager, CommandReactiveExecutor commandExecutor, BatchOptions options)
public <R> reactor.core.publisher.Mono<R> reactive(Callable<RFuture<R>> supplier)
reactive
in interface CommandReactiveExecutor
reactive
in class CommandReactiveService
protected <R> RPromise<R> createPromise()
createPromise
in class CommandAsyncService
public <V,R> void async(boolean readOnlyMode, NodeSource nodeSource, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, boolean ignoreRedirect)
async
in class CommandAsyncService
public RFuture<BatchResult<?>> executeAsync()
Copyright © 2014–2021 Redisson. All rights reserved.