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

@@ -30,10 +30,11 @@ public class BinaryShardedJedis extends Sharded<Jedis, JedisShardInfo>
super(shards, algo, keyTagPattern);
}
public void disconnect() throws IOException {
for (Jedis jedis : getAllShards()) {
jedis.disconnect();
}
public void disconnect() {
for (Jedis jedis : getAllShards()) {
jedis.quit();
jedis.disconnect();
}
}
protected Jedis create(JedisShardInfo shard) {