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
-
-
Constructor Summary
Constructors Constructor Description CommandReactiveBatchService(ConnectionManager connectionManager, CommandReactiveExecutor commandExecutor, 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)
protected <R> RPromise<R>
createPromise()
RFuture<Void>
discardAsync()
RFuture<BatchResult<?>>
executeAsync()
<R> reactor.core.publisher.Mono<R>
reactive(Callable<RFuture<R>> supplier)
-
Methods inherited from class org.redisson.command.CommandAsyncService
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
-
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, 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
-
CommandReactiveBatchService
public CommandReactiveBatchService(ConnectionManager connectionManager, CommandReactiveExecutor commandExecutor, BatchOptions options)
-
-
Method Detail
-
reactive
public <R> reactor.core.publisher.Mono<R> reactive(Callable<RFuture<R>> supplier)
- Specified by:
reactive
in interfaceCommandReactiveExecutor
- Overrides:
reactive
in classCommandReactiveService
-
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)
- Overrides:
async
in classCommandAsyncService
-
executeAsync
public RFuture<BatchResult<?>> executeAsync()
-
-