Added sharding using ketama

This commit is contained in:
Jonathan Leibiusky
2010-09-14 01:30:59 -03:00
parent f9e7887e02
commit baab2225f6
5 changed files with 610 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ public class JedisTest extends JedisCommandTestBase {
@Test
public void useWithoutConnecting() {
Jedis jedis = new Jedis("localhost");
jedis.auth("foobared");
jedis.dbSize();
}