public class DefaultRespInterpreter extends Object implements IInterpreter
| 构造器和说明 |
|---|
DefaultRespInterpreter() |
public String FormatCommand(String commandString) throws Exception
FormatCommand 在接口中 IInterpretercommandString - single command, just like 'INFO' or 'GET akey'Exception - parsing exceptionpublic String FormatCommand(List<String> commands) throws Exception
FormatCommand 在接口中 IInterpretercommands - multiple commands, just like list which includes strings of 'INFO' and 'GET akey'Exception - parsing exceptionpublic List<IRespNode> IntepretResponse(String response) throws Exception
IntepretResponse 在接口中 IInterpreterresponse - string that responsed from redis serverException - parsing exceptionCopyright © 2016. All rights reserved.