Class ReplyParser
- java.lang.Object
-
- com.moilioncircle.redis.replicator.cmd.ReplyParser
-
-
Constructor Summary
Constructors Constructor Description ReplyParser(RedisInputStream in)
ReplyParser(RedisInputStream in, RedisCodec codec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
parse()
Object
parse(BulkReplyHandler handler)
Object
parse(BulkReplyHandler handler, OffsetHandler offsetHandler)
Object
parse(OffsetHandler offsetHandler)
-
-
-
Constructor Detail
-
ReplyParser
public ReplyParser(RedisInputStream in)
-
ReplyParser
public ReplyParser(RedisInputStream in, RedisCodec codec)
-
-
Method Detail
-
parse
public Object parse() throws IOException
- Throws:
IOException
-
parse
public Object parse(OffsetHandler offsetHandler) throws IOException
- Throws:
IOException
-
parse
public Object parse(BulkReplyHandler handler, OffsetHandler offsetHandler) throws IOException
- Throws:
IOException
-
parse
public Object parse(BulkReplyHandler handler) throws IOException
- Parameters:
handler
- bulk reply handler- Returns:
- Object[] or byte[] or Long
- Throws:
IOException
- when read timeout
-
-