Package org.redisson.reactive
Class CommandReactiveBatchService
java.lang.Object
org.redisson.command.CommandAsyncService
org.redisson.reactive.CommandReactiveService
org.redisson.reactive.CommandReactiveBatchService
- All Implemented Interfaces:
BatchService
,CommandAsyncExecutor
,CommandReactiveExecutor
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorDescriptionCommandReactiveBatchService
(ConnectionManager connectionManager, CommandReactiveExecutor commandExecutor, BatchOptions options) -
Method Summary
Modifier and TypeMethodDescription<V,
R> RFuture <R> async
(boolean readOnlyMode, NodeSource nodeSource, Codec codec, RedisCommand<V> command, Object[] params, boolean ignoreRedirect, boolean noRetry) protected <R> CompletableFuture
<R> RFuture
<BatchResult<?>> protected boolean
<R> reactor.core.publisher.Mono
<R> Methods inherited from class org.redisson.reactive.CommandReactiveService
copy, copy
Methods inherited from class org.redisson.command.CommandAsyncService
convertException, copy, createCommandBatchService, createCommandBatchService, encode, encodeMapKey, encodeMapValue, evalAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalReadBatchedAsync, evalWriteAsync, evalWriteAsync, evalWriteAsync, evalWriteBatchedAsync, evalWriteNoRetryAsync, executeAllAsync, executeAllAsync, get, get, getConnectionManager, getInterrupted, getInterrupted, getNow, getObjectBuilder, getServiceManager, handleNoSync, isEvalShaROSupported, isTrackChanges, pollFromAnyAsync, readAllAsync, readAllAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readBatchedAsync, readRandomAsync, readRandomAsync, setEvalShaROSupported, syncedEval, syncedEvalNoRetry, syncedEvalWithRetry, transfer, writeAllAsync, writeAllAsync, writeAllVoidAsync, writeAsync, 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, createCommandBatchService, encode, encodeMapKey, encodeMapValue, evalReadAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalReadAsync, evalReadBatchedAsync, evalWriteAsync, evalWriteAsync, evalWriteAsync, evalWriteBatchedAsync, evalWriteNoRetryAsync, executeAllAsync, executeAllAsync, get, get, getConnectionManager, getInterrupted, getInterrupted, getNow, getObjectBuilder, getServiceManager, handleNoSync, isEvalShaROSupported, isTrackChanges, pollFromAnyAsync, readAllAsync, readAllAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readAsync, readBatchedAsync, readRandomAsync, readRandomAsync, setEvalShaROSupported, syncedEval, syncedEvalNoRetry, syncedEvalWithRetry, transfer, writeAllAsync, writeAllAsync, writeAllVoidAsync, writeAsync, writeAsync, writeAsync, writeAsync, writeAsync, writeAsync, writeBatchedAsync
-
Constructor Details
-
CommandReactiveBatchService
public CommandReactiveBatchService(ConnectionManager connectionManager, CommandReactiveExecutor commandExecutor, BatchOptions options)
-
-
Method Details
-
reactive
- Specified by:
reactive
in interfaceCommandReactiveExecutor
- Overrides:
reactive
in classCommandReactiveService
-
createPromise
- Overrides:
createPromise
in classCommandAsyncService
-
async
public <V,R> RFuture<R> async(boolean readOnlyMode, NodeSource nodeSource, Codec codec, RedisCommand<V> command, Object[] params, boolean ignoreRedirect, boolean noRetry) - Specified by:
async
in interfaceCommandAsyncExecutor
- Overrides:
async
in classCommandAsyncService
-
executeAsync
-
isEvalCacheActive
protected boolean isEvalCacheActive()- Overrides:
isEvalCacheActive
in classCommandAsyncService
-
discardAsync
-