public class CommandRxBatchService extends CommandRxService
Constructor and Description |
---|
CommandRxBatchService(ConnectionManager connectionManager,
CommandAsyncExecutor executor,
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> io.reactivex.rxjava3.core.Flowable<R> |
flowable(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 CommandRxBatchService(ConnectionManager connectionManager, CommandAsyncExecutor executor, BatchOptions options)
public <R> io.reactivex.rxjava3.core.Flowable<R> flowable(Callable<RFuture<R>> supplier)
flowable
in interface CommandRxExecutor
flowable
in class CommandRxService
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.