Package org.redisson.client.protocol
Class RedisCommand<R>
- java.lang.Object
-
- org.redisson.client.protocol.RedisCommand<R>
-
- Type Parameters:
R
- return type
- Direct Known Subclasses:
RedisStrictCommand
public class RedisCommand<R> extends Object
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description RedisCommand(String name)
RedisCommand(String name, String subName)
RedisCommand(String name, String subName, Convertor<R> convertor)
RedisCommand(String name, String subName, MultiDecoder<R> replayMultiDecoder)
RedisCommand(String name, Convertor<R> convertor)
RedisCommand(String name, MultiDecoder<R> replayMultiDecoder)
RedisCommand(String name, MultiDecoder<R> replayMultiDecoder, Convertor<R> convertor)
RedisCommand(RedisCommand<R> command, String name)
Copy command and change nameRedisCommand(RedisCommand<R> command, String name, Convertor<R> convertor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Convertor<R>
getConvertor()
String
getName()
MultiDecoder<R>
getReplayMultiDecoder()
String
getSubName()
String
toString()
-
-
-
Constructor Detail
-
RedisCommand
public RedisCommand(RedisCommand<R> command, String name)
Copy command and change name- Parameters:
command
- - source commandname
- - new command name
-
RedisCommand
public RedisCommand(RedisCommand<R> command, String name, Convertor<R> convertor)
-
RedisCommand
public RedisCommand(String name)
-
RedisCommand
public RedisCommand(String name, MultiDecoder<R> replayMultiDecoder)
-
RedisCommand
public RedisCommand(String name, MultiDecoder<R> replayMultiDecoder, Convertor<R> convertor)
-
RedisCommand
public RedisCommand(String name, String subName, MultiDecoder<R> replayMultiDecoder)
-
-