fixed up some missing pipelined methods

This commit is contained in:
samhendley
2012-12-26 11:58:48 -05:00
parent 5bde3da7f2
commit 7b7c6c9602
6 changed files with 25 additions and 11 deletions

View File

@@ -91,6 +91,20 @@ public class ShardedJedisPipeline extends Queable implements BinaryRedisPipeline
return getResponse(BuilderFactory.STRING_LIST);
}
public Response<Long> move(byte[] key, int dbIndex) {
Client c = getClient(key);
c.move(key, dbIndex);
results.add(new FutureResult(c));
return getResponse(BuilderFactory.LONG);
}
public Response<Long> move(String key, int dbIndex) {
Client c = getClient(key);
c.move(key, dbIndex);
results.add(new FutureResult(c));
return getResponse(BuilderFactory.LONG);
}
public Response<byte[]> echo(byte[] string) {
Client c = getClient(string);
c.echo(string);