Skip to content

Commit

Permalink
Update README examples
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Carbonetto <[email protected]>
  • Loading branch information
acarbonetto committed Feb 13, 2024
1 parent c1f83a7 commit ca8dda5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ Other useful gradle developer commands:
```java
import glide.api.RedisClient;

RedisClient client = RedisClient.CreateClient();
RedisClient client = RedisClient.CreateClient().get();

CompletableFuture<String> setResponse = client.set("key", "foobar");
setResponse.get() == "OK";
assert setResponse.get() == "OK" : "Failed on client.set("key", "foobar") request";

CompletableFuture<String> getResponse = client.get("key");
getResponse.get() == "foobar";
assert getResponse.get() == "foobar" : "Failed on client.get("key") request";
```

### Benchmarks
Expand Down

0 comments on commit ca8dda5

Please sign in to comment.