@@ -120,9 +120,9 @@ Maven (AARCH_64) specific.
120
120
121
121
``` java
122
122
// You can run this example code in the Main.
123
- import glide.api.RedisClient ;
123
+ import glide.api.GlideClient ;
124
124
import glide.api.models.configuration.NodeAddress ;
125
- import glide.api.models.configuration.RedisClientConfiguration ;
125
+ import glide.api.models.configuration.GlideClientConfiguration ;
126
126
import java.util.concurrent.ExecutionException ;
127
127
128
128
import static glide.api.models.GlideString.gs ;
@@ -138,16 +138,15 @@ public class Main {
138
138
Integer port = 6379 ;
139
139
boolean useSsl = false ;
140
140
141
- RedisClientConfiguration config =
142
- RedisClientConfiguration . builder()
141
+ GlideClientConfiguration config =
142
+ GlideClientConfiguration . builder()
143
143
.address(NodeAddress . builder(). host(host). port(port). build())
144
144
.useTLS(useSsl)
145
145
.build();
146
146
147
147
try {
148
148
Glide client = GlideClient . CreateClient(config). get();
149
149
150
- // TODO wait for this PR to get merged https://github.com/aws/glide-for-redis/pull/1663/ for PING to work.
151
150
System . out. println(" PING: " + client. ping(gs(" PING" )). get());
152
151
System . out. println(" PING(found you): " + client. ping( gs(" found you" )). get());
153
152
@@ -166,9 +165,9 @@ public class Main {
166
165
### Cluster Valkey:
167
166
``` java
168
167
// You can run this example code in the Main.
169
- import glide.api.RedisClusterClient ;
168
+ import glide.api.GlideClusterClient ;
170
169
import glide.api.models.configuration.NodeAddress ;
171
- import glide.api.models.configuration.RedisClusterClientConfiguration ;
170
+ import glide.api.models.configuration.GlideClusterClientConfiguration ;
172
171
import glide.api.models.configuration.RequestRoutingConfiguration ;
173
172
174
173
import java.util.concurrent.ExecutionException ;
@@ -198,9 +197,8 @@ public class Main {
198
197
.build();
199
198
200
199
try {
201
- RedisClusterClient client = RedisClusterClient . CreateClient(config). get();
200
+ GlideClusterClient client = GlideClusterClient . CreateClient(config). get();
202
201
203
- // TODO wait for this PR to get merged https://github.com/aws/glide-for-redis/pull/1663/ for PING to work.
204
202
System . out. println(" PING: " + client. ping(gs(" PING" )). get());
205
203
System . out. println(" PING(found you): " + client. ping( gs(" found you" )). get());
206
204
@@ -229,6 +227,6 @@ The following arguments are accepted:
229
227
* ` concurrentTasks ` : Number of concurrent tasks
230
228
* ` clients ` : one of: all|jedis|lettuce|glide
231
229
* ` clientCount ` : Client count
232
- * ` host ` : redis server host url
233
- * ` port ` : redis server port number
234
- * ` tls ` : redis TLS configured
230
+ * ` host ` : glide server host url
231
+ * ` port ` : glide server port number
232
+ * ` tls ` : glide TLS configured
0 commit comments