@@ -26,13 +26,10 @@ The beta release of GLIDE for Valkey was tested on Intel x86_64 using Ubuntu 22.
2626
2727GLIDE for Valkey is supported in Ubuntu, CentOS, and MacOS.
2828
29- ## Java supported version
30- JDK 11+.
31-
3229The Java client contains the following parts:
3330
34311 . ` src ` : Rust dynamic library FFI to integrate with [ GLIDE core library] ( https://github.com/aws/glide-for-redis/blob/main/glide-core/README.md ) .
35- 2 . ` client ` : A Java-wrapper around the [ GLIDE core rust library] ( ../glide-core/README.md ) and unit tests for it.
32+ 2 . ` client ` : A Java-wrapper around the GLIDE core rust library and unit tests for it.
36333 . ` examples ` : An examples app to test the client against a Valkey localhost.
37344 . ` benchmark ` : A dedicated benchmarking tool designed to evaluate and compare the performance of GLIDE for Valkey and other Java clients.
38355 . ` integTest ` : An integration test sub-project for API and E2E testing.
@@ -43,17 +40,6 @@ The Java client contains the following parts:
4340
4441At the moment, the Java client must be built from source.
4542
46- ### Build from source
47-
48- Software Dependencies:
49-
50- - JDK 11+
51-
52- Please also consider installing the following packages to build [ GLIDE core rust library] ( ../glide-core/README.md ) :
53-
54- - openssl
55- - openssl-dev
56-
5743#### Prerequisites
5844
5945** Protoc installation**
@@ -109,7 +95,7 @@ Once set up, you can run the basic examples.
10995Gradle:
11096- Copy the snippet and paste it in the ` build.gradle ` dependencies section.
11197Example shown below is for ` glide-osx-aarch_64 ` .
112- ``` bash
98+ ``` groovy
11399dependencies {
114100 testImplementation platform('org.junit:junit-bom:5.10.0')
115101 testImplementation 'org.junit.jupiter:junit-jupiter'
@@ -179,6 +165,7 @@ public class Main {
179165
180166### Cluster Valkey:
181167``` java
168+ // You can run this example code in the Main.
182169import glide.api.RedisClusterClient ;
183170import glide.api.models.configuration.NodeAddress ;
184171import glide.api.models.configuration.RedisClusterClientConfiguration ;
0 commit comments