Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ShardedJedis in order to focus core functionality (3.x) #875

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove ShardedJedis, and rearrange Pipeline to reflect
* 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
commit 54233524f766f16b7da31d7483db1303844dc6bf
10 changes: 0 additions & 10 deletions src/main/java/redis/clients/jedis/BinaryJedis.java
Original file line number Diff line number Diff line change
@@ -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);
}
Loading