public String echo(String string) { client.echo(string); return client.getBulkReply(); }
public String randomKey() { checkIsInMulti(); client.randomKey(); return client.getBulkReply(); }
public Double zscore(String key, String member) { checkIsInMulti(); client.zscore(key, member); String score = client.getBulkReply(); return (score != null ? new Double(score) : null); }
public String info() { client.info(); return client.getBulkReply(); }
public Double zincrby(String key, double score, String member) { checkIsInMulti(); client.zincrby(key, score, member); String newscore = client.getBulkReply(); return Double.valueOf(newscore); }
public String get(String key) { checkIsInMulti(); client.sendCommand("GET", key); return client.getBulkReply(); }
public String spop(String key) { checkIsInMulti(); client.spop(key); return client.getBulkReply(); }
public String srandmember(String key) { checkIsInMulti(); client.srandmember(key); return client.getBulkReply(); }
public String rpoplpush(String srckey, String dstkey) { checkIsInMulti(); client.rpoplpush(srckey, dstkey); return client.getBulkReply(); }
public String lindex(String key, int index) { checkIsInMulti(); client.lindex(key, index); return client.getBulkReply(); }
public String hget(String key, String field) { checkIsInMulti(); client.hget(key, field); return client.getBulkReply(); }
public String substr(String key, int start, int end) { checkIsInMulti(); client.substr(key, start, end); return client.getBulkReply(); }
public String getSet(String key, String value) { checkIsInMulti(); client.getSet(key, value); return client.getBulkReply(); }