Package org.redisson.command
Interface CommandAsyncExecutor
- All Known Subinterfaces:
CommandReactiveExecutor,CommandRxExecutor
- All Known Implementing Classes:
CommandAsyncService,CommandBatchService,CommandReactiveBatchService,CommandReactiveService,CommandRxBatchService,CommandRxService
public interface CommandAsyncExecutor
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescription<V,R> RFuture <R> async(boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, boolean ignoreRedirect, boolean noRetry) copy(boolean trackChanges) copy(ObjectParams objectParams) createCommandBatchService(BatchOptions options) io.netty.buffer.ByteBufio.netty.buffer.ByteBufencodeMapKey(Codec codec, Object value) io.netty.buffer.ByteBufencodeMapValue(Codec codec, Object value) <T,R> RFuture <R> evalReadAsync(io.netty.buffer.ByteBuf key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <T,R> RFuture <R> evalReadAsync(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <T,R> RFuture <R> evalReadAsync(RedisClient client, String name, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <T,R> RFuture <R> evalReadAsync(RedisClient client, MasterSlaveEntry entry, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <T,R> RFuture <R> evalReadAsync(MasterSlaveEntry entry, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <T,R> RFuture <R> evalReadBatchedAsync(Codec codec, RedisCommand<T> command, String script, List<Object> keys, SlotCallback<T, R> callback) <T,R> RFuture <R> evalWriteAsync(io.netty.buffer.ByteBuf key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <T,R> RFuture <R> evalWriteAsync(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <T,R> RFuture <R> evalWriteAsync(MasterSlaveEntry entry, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <T,R> RFuture <R> evalWriteBatchedAsync(Codec codec, RedisCommand<T> command, String script, List<Object> keys, SlotCallback<T, R> callback) <T,R> RFuture <R> evalWriteNoRetryAsync(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <R> List<CompletableFuture<R>> executeAllAsync(RedisCommand<?> command, Object... params) <R> List<CompletableFuture<R>> executeAllAsync(MasterSlaveEntry entry, RedisCommand<?> command, Object... params) <V> Vget(CompletableFuture<V> future) <V> V<V> VgetInterrupted(CompletableFuture<V> future) <V> VgetInterrupted(RFuture<V> future) <V> VgetNow(CompletableFuture<V> future) <T> CompletionStage<T> handleNoSync(CompletionStage<T> stage, Supplier<CompletionStage<?>> supplier) booleanboolean<V> RFuture<V> pollFromAnyAsync(String name, Codec codec, RedisCommand<?> command, long secondsTimeout, String... queueNames) <R> List<CompletableFuture<R>> readAllAsync(Codec codec, RedisCommand<?> command, Object... params) <R> List<CompletableFuture<R>> readAllAsync(RedisCommand<?> command, Object... params) <T,R> RFuture <R> readAsync(byte[] key, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> readAsync(io.netty.buffer.ByteBuf key, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> readAsync(String key, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> readAsync(String key, RedisCommand<T> command, Object... params) <T,R> RFuture <R> readAsync(RedisClient client, byte[] key, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> readAsync(RedisClient client, String name, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> readAsync(RedisClient client, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> readAsync(RedisClient client, MasterSlaveEntry entry, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> readAsync(MasterSlaveEntry entry, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> readBatchedAsync(Codec codec, RedisCommand<T> command, SlotCallback<T, R> callback, Object... keys) <T,R> RFuture <R> readRandomAsync(Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> readRandomAsync(RedisClient client, Codec codec, RedisCommand<T> command, Object... params) voidsetEvalShaROSupported(boolean value) <T> RFuture<T> syncedEval(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <T> RFuture<T> syncedEvalNoRetry(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <T> RFuture<T> syncedEvalWithRetry(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) <V> voidtransfer(CompletionStage<V> future1, CompletableFuture<V> future2) <R> List<CompletableFuture<R>> writeAllAsync(Codec codec, RedisCommand<?> command, Object... params) <R> List<CompletableFuture<R>> writeAllAsync(RedisCommand<?> command, Object... params) writeAllVoidAsync(RedisCommand<T> command, Object... params) <T,R> RFuture <R> writeAsync(byte[] key, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> writeAsync(io.netty.buffer.ByteBuf key, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> writeAsync(String key, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> writeAsync(String key, RedisCommand<T> command, Object... params) <T,R> RFuture <R> writeAsync(RedisClient client, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> writeAsync(MasterSlaveEntry entry, Codec codec, RedisCommand<T> command, Object... params) <T,R> RFuture <R> writeBatchedAsync(Codec codec, RedisCommand<T> command, SlotCallback<T, R> callback, Object... keys)
-
Method Details
-
copy
-
copy
-
getObjectBuilder
RedissonObjectBuilder getObjectBuilder() -
getConnectionManager
ConnectionManager getConnectionManager() -
getServiceManager
ServiceManager getServiceManager() -
convertException
-
transfer
-
getNow
-
get
-
get
-
getInterrupted
- Throws:
InterruptedException
-
getInterrupted
- Throws:
InterruptedException
-
writeAsync
<T,R> RFuture<R> writeAsync(RedisClient client, Codec codec, RedisCommand<T> command, Object... params) -
writeAsync
<T,R> RFuture<R> writeAsync(MasterSlaveEntry entry, Codec codec, RedisCommand<T> command, Object... params) -
writeAsync
-
writeAsync
<T,R> RFuture<R> writeAsync(io.netty.buffer.ByteBuf key, Codec codec, RedisCommand<T> command, Object... params) -
readAsync
<T,R> RFuture<R> readAsync(RedisClient client, MasterSlaveEntry entry, Codec codec, RedisCommand<T> command, Object... params) -
readAsync
<T,R> RFuture<R> readAsync(RedisClient client, String name, Codec codec, RedisCommand<T> command, Object... params) -
readAsync
<T,R> RFuture<R> readAsync(RedisClient client, byte[] key, Codec codec, RedisCommand<T> command, Object... params) -
readAsync
<T,R> RFuture<R> readAsync(RedisClient client, Codec codec, RedisCommand<T> command, Object... params) -
executeAllAsync
<R> List<CompletableFuture<R>> executeAllAsync(MasterSlaveEntry entry, RedisCommand<?> command, Object... params) -
executeAllAsync
-
writeAllAsync
-
writeAllAsync
<R> List<CompletableFuture<R>> writeAllAsync(Codec codec, RedisCommand<?> command, Object... params) -
readAllAsync
-
readAllAsync
-
evalReadAsync
<T,R> RFuture<R> evalReadAsync(RedisClient client, String name, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) -
evalReadAsync
-
evalReadAsync
<T,R> RFuture<R> evalReadAsync(MasterSlaveEntry entry, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) -
evalReadAsync
<T,R> RFuture<R> evalReadAsync(RedisClient client, MasterSlaveEntry entry, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) -
evalReadAsync
-
evalWriteAsync
-
evalWriteAsync
-
evalWriteNoRetryAsync
-
evalWriteAsync
<T,R> RFuture<R> evalWriteAsync(MasterSlaveEntry entry, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params) -
readAsync
-
readAsync
<T,R> RFuture<R> readAsync(io.netty.buffer.ByteBuf key, Codec codec, RedisCommand<T> command, Object... params) -
readAsync
-
writeAsync
-
writeAllVoidAsync
-
writeAsync
-
readAsync
-
readAsync
<T,R> RFuture<R> readAsync(MasterSlaveEntry entry, Codec codec, RedisCommand<T> command, Object... params) -
readRandomAsync
-
readRandomAsync
<T,R> RFuture<R> readRandomAsync(RedisClient client, Codec codec, RedisCommand<T> command, Object... params) -
async
<V,R> RFuture<R> async(boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, boolean ignoreRedirect, boolean noRetry) -
pollFromAnyAsync
<V> RFuture<V> pollFromAnyAsync(String name, Codec codec, RedisCommand<?> command, long secondsTimeout, String... queueNames) -
encode
-
encodeMapKey
-
encodeMapValue
-
readBatchedAsync
<T,R> RFuture<R> readBatchedAsync(Codec codec, RedisCommand<T> command, SlotCallback<T, R> callback, Object... keys) -
writeBatchedAsync
<T,R> RFuture<R> writeBatchedAsync(Codec codec, RedisCommand<T> command, SlotCallback<T, R> callback, Object... keys) -
evalWriteBatchedAsync
<T,R> RFuture<R> evalWriteBatchedAsync(Codec codec, RedisCommand<T> command, String script, List<Object> keys, SlotCallback<T, R> callback) -
evalReadBatchedAsync
<T,R> RFuture<R> evalReadBatchedAsync(Codec codec, RedisCommand<T> command, String script, List<Object> keys, SlotCallback<T, R> callback) -
isEvalShaROSupported
boolean isEvalShaROSupported() -
setEvalShaROSupported
void setEvalShaROSupported(boolean value) -
syncedEvalWithRetry
-
syncedEvalNoRetry
-
syncedEval
-
handleNoSync
<T> CompletionStage<T> handleNoSync(CompletionStage<T> stage, Supplier<CompletionStage<?>> supplier) -
isTrackChanges
boolean isTrackChanges() -
createCommandBatchService
-