Skip to content

Commit

Permalink
Remove ShardedJedis, and rearrange Pipeline to reflect
Browse files Browse the repository at this point in the history
* Remove ShardedJedis and relevant classes, methods
** also remove unit tests / benchmark tests
* Rearrange Pipeline to reflect removing ShardedJedis …
** We don't need to separate single key and multi keys operation
*** cause JedisCluster can't use Pipeline by nature
** Rename interfaces to respect naming convention
** and so on...
  • Loading branch information
HeartSaVioR committed Apr 19, 2016
1 parent 657d65b commit 5423352
Show file tree
Hide file tree
Showing 25 changed files with 943 additions and 4,374 deletions.
10 changes: 0 additions & 10 deletions src/main/java/redis/clients/jedis/BinaryJedis.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,6 @@ public BinaryJedis(final String host, final int port, final int connectionTimeou
client.setSoTimeout(soTimeout);
}

public BinaryJedis(final JedisShardInfo shardInfo) {
client = new Client(shardInfo.getHost(), shardInfo.getPort(), shardInfo.getSsl(),
shardInfo.getSslSocketFactory(), shardInfo.getSslParameters(),
shardInfo.getHostnameVerifier());
client.setConnectionTimeout(shardInfo.getConnectionTimeout());
client.setSoTimeout(shardInfo.getSoTimeout());
client.setPassword(shardInfo.getPassword());
client.setDb(shardInfo.getDb());
}

public BinaryJedis(URI uri) {
initializeClientFromURI(uri);
}
Expand Down
Loading

0 comments on commit 5423352

Please sign in to comment.