Class RESP2Client.Command
- java.lang.Object
-
- com.moilioncircle.redis.replicator.client.RESP2Client.Command
-
- Enclosing class:
- RESP2Client
public static class RESP2Client.Command extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidget()Queue<Tuple2<RESP2Client.NodeConsumer,byte[][]>>getCommands()RESP2.Nodeinvoke(byte[]... command)RESP2.Nodeinvoke(String... command)RESP2Client.Commandpost(RESP2Client.NodeConsumer handler, byte[]... command)RESP2Client.Commandpost(RESP2Client.NodeConsumer handler, String... command)
-
-
-
Method Detail
-
getCommands
public Queue<Tuple2<RESP2Client.NodeConsumer,byte[][]>> getCommands()
-
get
public void get() throws IOException- Throws:
IOException
-
invoke
public RESP2.Node invoke(byte[]... command) throws IOException
- Throws:
IOException
-
invoke
public RESP2.Node invoke(String... command) throws IOException
- Throws:
IOException
-
post
public RESP2Client.Command post(RESP2Client.NodeConsumer handler, byte[]... command) throws IOException
- Throws:
IOException
-
post
public RESP2Client.Command post(RESP2Client.NodeConsumer handler, String... command) throws IOException
- Throws:
IOException
-
-