Package org.redisson.command
Class CommandSyncService
- java.lang.Object
-
- org.redisson.command.CommandAsyncService
-
- org.redisson.command.CommandSyncService
-
- All Implemented Interfaces:
CommandAsyncExecutor
,CommandExecutor
,CommandSyncExecutor
public class CommandSyncService extends CommandAsyncService implements CommandExecutor
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description CommandSyncService(ConnectionManager connectionManager, RedissonObjectBuilder objectBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,R>
RevalRead(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
<T,R>
RevalRead(String key, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
<T,R>
RevalWrite(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
<T,R>
RevalWrite(String key, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
<T,R>
Rread(String key, Codec codec, RedisCommand<T> command, Object... params)
<T,R>
Rread(String key, RedisCommand<T> command, Object... params)
-
Methods inherited from class org.redisson.command.CommandAsyncService
async, convertException, createPromise, 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
-
Methods inherited from interface org.redisson.command.CommandSyncExecutor
get, getConnectionManager
-
-
-
-
Constructor Detail
-
CommandSyncService
public CommandSyncService(ConnectionManager connectionManager, RedissonObjectBuilder objectBuilder)
-
-
Method Detail
-
read
public <T,R> R read(String key, RedisCommand<T> command, Object... params)
- Specified by:
read
in interfaceCommandSyncExecutor
-
read
public <T,R> R read(String key, Codec codec, RedisCommand<T> command, Object... params)
- Specified by:
read
in interfaceCommandSyncExecutor
-
evalRead
public <T,R> R evalRead(String key, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
- Specified by:
evalRead
in interfaceCommandSyncExecutor
-
evalRead
public <T,R> R evalRead(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
- Specified by:
evalRead
in interfaceCommandSyncExecutor
-
evalWrite
public <T,R> R evalWrite(String key, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
- Specified by:
evalWrite
in interfaceCommandSyncExecutor
-
evalWrite
public <T,R> R evalWrite(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
- Specified by:
evalWrite
in interfaceCommandSyncExecutor
-
-