Package org.redisson.reactive
Class CommandReactiveBatchService
- java.lang.Object
-
- org.redisson.command.CommandAsyncService
-
- org.redisson.reactive.CommandReactiveService
-
- org.redisson.reactive.CommandReactiveBatchService
-
- All Implemented Interfaces:
CommandAsyncExecutor
,CommandReactiveExecutor
public class CommandReactiveBatchService extends CommandReactiveService
- Author:
- Nikita Koksharov
-
-
Field Summary
-
Fields inherited from class org.redisson.command.CommandAsyncService
redisson, redissonReactive, redissonRx
-
-
Constructor Summary
Constructors Constructor Description CommandReactiveBatchService(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(RedissonReactiveClient redissonReactive)
RFuture<BatchResult<?>>
executeAsync(BatchOptions options)
<R> org.reactivestreams.Publisher<R>
reactive(reactor.fn.Supplier<RFuture<R>> supplier)
<R> org.reactivestreams.Publisher<R>
superReactive(reactor.fn.Supplier<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
-
CommandReactiveBatchService
public CommandReactiveBatchService(ConnectionManager connectionManager)
-
-
Method Detail
-
reactive
public <R> org.reactivestreams.Publisher<R> reactive(reactor.fn.Supplier<RFuture<R>> supplier)
- Specified by:
reactive
in interfaceCommandReactiveExecutor
- Overrides:
reactive
in classCommandReactiveService
-
superReactive
public <R> org.reactivestreams.Publisher<R> superReactive(reactor.fn.Supplier<RFuture<R>> supplier)
-
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(RedissonReactiveClient redissonReactive)
- Specified by:
enableRedissonReferenceSupport
in interfaceCommandAsyncExecutor
- Overrides:
enableRedissonReferenceSupport
in classCommandAsyncService
-
-