Package org.redisson.rx
Class CommandRxBatchService
- java.lang.Object
-
- org.redisson.command.CommandAsyncService
-
- org.redisson.rx.CommandRxService
-
- org.redisson.rx.CommandRxBatchService
-
- All Implemented Interfaces:
CommandAsyncExecutor
,CommandRxExecutor
public class CommandRxBatchService extends CommandRxService
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description CommandRxBatchService(ConnectionManager connectionManager, CommandAsyncExecutor executor, BatchOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V,R>
voidasync(boolean readOnlyMode, NodeSource nodeSource, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, boolean ignoreRedirect, boolean noRetry)
protected <R> RPromise<R>
createPromise()
RFuture<Void>
discardAsync()
RFuture<BatchResult<?>>
executeAsync()
<R> io.reactivex.rxjava3.core.Flowable<R>
flowable(Callable<RFuture<R>> supplier)
-
Methods inherited from class org.redisson.command.CommandAsyncService
convertException, encode, encodeMapKey, encodeMapValue, evalAllAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, evalWriteAsync, evalWriteNoRetryAsync, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.redisson.command.CommandAsyncExecutor
convertException, encode, encodeMapKey, encodeMapValue, evalReadAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, evalWriteAsync, evalWriteNoRetryAsync, 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
-
-
-
-
Constructor Detail
-
CommandRxBatchService
public CommandRxBatchService(ConnectionManager connectionManager, CommandAsyncExecutor executor, BatchOptions options)
-
-
Method Detail
-
flowable
public <R> io.reactivex.rxjava3.core.Flowable<R> flowable(Callable<RFuture<R>> supplier)
- Specified by:
flowable
in interfaceCommandRxExecutor
- Overrides:
flowable
in classCommandRxService
-
createPromise
protected <R> RPromise<R> createPromise()
- Overrides:
createPromise
in classCommandAsyncService
-
async
public <V,R> void async(boolean readOnlyMode, NodeSource nodeSource, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, boolean ignoreRedirect, boolean noRetry)
- Overrides:
async
in classCommandAsyncService
-
executeAsync
public RFuture<BatchResult<?>> executeAsync()
-
-