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
-
-
Field Summary
-
Fields inherited from class org.redisson.command.CommandAsyncService
redisson, redissonReactive, redissonRx
-
-
Constructor Summary
Constructors Constructor Description CommandRxBatchService(ConnectionManager connectionManager)
-
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, int attempt, boolean ignoreRedirect, RFuture<RedisConnection> connFuture)
CommandAsyncExecutor
enableRedissonReferenceSupport(RedissonRxClient redissonReactive)
RFuture<BatchResult<?>>
executeAsync(BatchOptions options)
<R> io.reactivex.Flowable<R>
flowable(Callable<RFuture<R>> supplier)
<R> io.reactivex.Flowable<R>
superReactive(Callable<RFuture<R>> supplier)
-
Methods inherited from class org.redisson.command.CommandAsyncService
await, checkAttemptFuture, convertException, createPromise, enableRedissonReferenceSupport, enableRedissonReferenceSupport, evalAllAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, evalWriteAsync, free, get, getConnection, getConnectionManager, handleError, handleSuccess, isEvalCacheActive, isRedissonReferenceSupportEnabled, readAllAsync, readAllAsync, readAllAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readRandomAsync, readRandomAsync, releaseConnection, sendCommand, syncSubscription, tryHandleReference, writeAllAsync, writeAllAsync, writeAllAsync, writeAsync, writeAsync, writeAsync, writeAsync
-
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
await, convertException, enableRedissonReferenceSupport, enableRedissonReferenceSupport, evalReadAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, evalWriteAsync, get, getConnectionManager, isRedissonReferenceSupportEnabled, readAllAsync, readAllAsync, readAllAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readRandomAsync, readRandomAsync, syncSubscription, writeAllAsync, writeAllAsync, writeAllAsync, writeAsync, writeAsync, writeAsync
-
-
-
-
Constructor Detail
-
CommandRxBatchService
public CommandRxBatchService(ConnectionManager connectionManager)
-
-
Method Detail
-
flowable
public <R> io.reactivex.Flowable<R> flowable(Callable<RFuture<R>> supplier)
- Specified by:
flowable
in interfaceCommandRxExecutor
- Overrides:
flowable
in classCommandRxService
-
async
public <V,R> void async(boolean readOnlyMode, NodeSource nodeSource, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, int attempt, boolean ignoreRedirect, RFuture<RedisConnection> connFuture)
- Overrides:
async
in classCommandAsyncService
-
executeAsync
public RFuture<BatchResult<?>> executeAsync(BatchOptions options)
-
enableRedissonReferenceSupport
public CommandAsyncExecutor enableRedissonReferenceSupport(RedissonRxClient redissonReactive)
- Specified by:
enableRedissonReferenceSupport
in interfaceCommandAsyncExecutor
- Overrides:
enableRedissonReferenceSupport
in classCommandAsyncService
-
-