-
Notifications
You must be signed in to change notification settings - Fork 65
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
Java: Rename RedisClient, RedisClusterClient to GlideClient, GlideClusterClient #1671
Conversation
f080190
to
bd9ff88
Compare
0b70645
to
0dbe3c8
Compare
0dbe3c8
to
e4f9b02
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also update https://github.com/aws/glide-for-redis/blob/e4f9b023dd6790ed5f7e280776695845601908c5/java/client/src/main/java/glide/api/BaseClient.java#L272
to
* @return a Future to connect and return a client.
@@ -33,14 +33,14 @@ public void connectToRedis(ConnectionSettings connectionSettings) { | |||
.useTLS(connectionSettings.useSsl) | |||
.build(); | |||
try { | |||
redisClient = RedisClusterClient.CreateClient(config).get(10, SECONDS); | |||
redisClient = GlideClusterClient.CreateClient(config).get(10, SECONDS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename the variable (line 20)
// RedisClient. | ||
|
||
// TODO: consider making connection manager static, and moving the | ||
// ChannelHandler to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the linebreak please
@@ -119,8 +119,8 @@ public void connection_request_protobuf_generation_default_cluster_configuration | |||
@Test | |||
public void connection_request_protobuf_generation_with_all_fields_set() { | |||
// setup | |||
RedisClientConfiguration redisClientConfiguration = | |||
RedisClientConfiguration.builder() | |||
GlideClientConfiguration redisClientConfiguration = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename the variable
@@ -180,7 +180,7 @@ public void connection_request_protobuf_generation_with_all_fields_set() { | |||
@Test | |||
public void response_validation_on_constant_response_returns_successfully() { | |||
// setup | |||
RedisClientConfiguration redisClientConfiguration = RedisClientConfiguration.builder().build(); | |||
GlideClientConfiguration redisClientConfiguration = GlideClientConfiguration.builder().build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here
@@ -197,7 +197,7 @@ public void response_validation_on_constant_response_returns_successfully() { | |||
@Test | |||
public void connection_on_empty_response_throws_ClosingException() { | |||
// setup | |||
RedisClientConfiguration redisClientConfiguration = RedisClientConfiguration.builder().build(); | |||
GlideClientConfiguration redisClientConfiguration = GlideClientConfiguration.builder().build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and here
b660d14
to
b2ff58d
Compare
b2ff58d
to
b04b27b
Compare
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.