Class CommandParsers
- java.lang.Object
-
- com.moilioncircle.redis.replicator.cmd.CommandParsers
-
public class CommandParsers extends Object
- Since:
- 2.6.0
- Author:
- Leon Chen
-
-
Constructor Summary
Constructors Constructor Description CommandParsers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommandSpeccommandSpec(Command command)static CommandSpeccommandSpec(Class<? extends Command> clazz)static byte[]toBytes(Object object)static doubletoDouble(Object object)static inttoInt(Object object)static longtoLong(Object object)static StringtoRune(Object object)
-
-
-
Method Detail
-
toBytes
public static byte[] toBytes(Object object)
-
toDouble
public static double toDouble(Object object)
-
toInt
public static int toInt(Object object)
-
toLong
public static long toLong(Object object)
-
commandSpec
public static CommandSpec commandSpec(Command command)
-
commandSpec
public static CommandSpec commandSpec(Class<? extends Command> clazz)
-
-