public class CommandSyncService extends CommandAsyncService implements CommandExecutor
Constructor and Description |
---|
CommandSyncService(ConnectionManager connectionManager) |
Modifier and Type | Method and Description |
---|---|
<T,R> R |
evalRead(String key,
Codec codec,
RedisCommand<T> evalCommandType,
String script,
List<Object> keys,
Object... params) |
<T,R> R |
evalRead(String key,
RedisCommand<T> evalCommandType,
String script,
List<Object> keys,
Object... params) |
<T,R> R |
evalWrite(String key,
Codec codec,
RedisCommand<T> evalCommandType,
String script,
List<Object> keys,
Object... params) |
<T,R> R |
evalWrite(String key,
RedisCommand<T> evalCommandType,
String script,
List<Object> keys,
Object... params) |
<T,R> R |
read(InetSocketAddress client,
String key,
Codec codec,
RedisCommand<T> command,
Object... params) |
<T,R> R |
read(InetSocketAddress client,
String key,
RedisCommand<T> command,
Object... params) |
<T,R> R |
read(String key,
Codec codec,
RedisCommand<T> command,
Object... params) |
<R> R |
read(String key,
Codec codec,
SyncOperation<R> operation) |
<T,R> R |
read(String key,
RedisCommand<T> command,
Object... params) |
<T,R> R |
write(Integer slot,
Codec codec,
RedisCommand<T> command,
Object... params) |
<T,R> R |
write(String key,
Codec codec,
RedisCommand<T> command,
Object... params) |
<R> R |
write(String key,
Codec codec,
SyncOperation<R> operation) |
<T,R> R |
write(String key,
RedisCommand<T> command,
Object... params) |
async, convertException, evalAllAsync, evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, get, getConnectionManager, readAllAsync, readAllAsync, readAsync, readAsync, readAsync, readRandomAsync, releaseConnection, writeAllAsync, writeAllAsync, writeAsync, writeAsync, writeAsync
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getConnectionManager
evalReadAsync, evalReadAsync, evalWriteAllAsync, evalWriteAsync, get, getConnectionManager, readAllAsync, readAllAsync, readAsync, readAsync, readAsync, readRandomAsync, writeAllAsync, writeAllAsync, writeAsync, writeAsync, writeAsync
public CommandSyncService(ConnectionManager connectionManager)
public <T,R> R read(String key, RedisCommand<T> command, Object... params)
read
in interface CommandSyncExecutor
public <T,R> R read(String key, Codec codec, RedisCommand<T> command, Object... params)
read
in interface CommandSyncExecutor
public <T,R> R read(InetSocketAddress client, String key, RedisCommand<T> command, Object... params)
read
in interface CommandSyncExecutor
public <T,R> R read(InetSocketAddress client, String key, Codec codec, RedisCommand<T> command, Object... params)
read
in interface CommandSyncExecutor
public <T,R> R evalRead(String key, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
evalRead
in interface CommandSyncExecutor
public <T,R> R evalRead(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
evalRead
in interface CommandSyncExecutor
public <T,R> R evalWrite(String key, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
evalWrite
in interface CommandSyncExecutor
public <T,R> R evalWrite(String key, Codec codec, RedisCommand<T> evalCommandType, String script, List<Object> keys, Object... params)
evalWrite
in interface CommandSyncExecutor
public <T,R> R write(Integer slot, Codec codec, RedisCommand<T> command, Object... params)
write
in interface CommandSyncExecutor
public <R> R write(String key, Codec codec, SyncOperation<R> operation)
write
in interface CommandSyncExecutor
public <R> R read(String key, Codec codec, SyncOperation<R> operation)
read
in interface CommandSyncExecutor
public <T,R> R write(String key, Codec codec, RedisCommand<T> command, Object... params)
write
in interface CommandSyncExecutor
public <T,R> R write(String key, RedisCommand<T> command, Object... params)
write
in interface CommandSyncExecutor
Copyright © 2014–2016. All rights reserved.