-
Notifications
You must be signed in to change notification settings - Fork 98
Java: Lazy connect implementation #4370
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
base: main
Are you sure you want to change the base?
Conversation
c3cbc99
to
9155395
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 consider making ValkeyCluster an AutoCloseable instead of relying on finalize() for clean-up
java/client/src/main/java/glide/api/models/configuration/BaseClientConfiguration.java
Outdated
Show resolved
Hide resolved
java/client/src/main/java/glide/api/models/configuration/BaseClientConfiguration.java
Outdated
Show resolved
Hide resolved
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 add configure git to auto-add DCO to all commits and re-create commits, so they will be signed.
java/client/src/main/java/glide/api/models/configuration/BaseClientConfiguration.java
Outdated
Show resolved
Hide resolved
java/client/src/main/java/glide/api/models/configuration/BaseClientConfiguration.java
Outdated
Show resolved
Hide resolved
java/client/src/main/java/glide/api/models/configuration/BaseClientConfiguration.java
Outdated
Show resolved
Hide resolved
7a2e468
to
6c65c29
Compare
Please add a changelog entry |
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
- Fix Javadoc formatting in BaseClientConfiguration to use proper {@code} tags - Implement AutoCloseable in ValkeyCluster for proper resource management - Add try-with-resources usage in ConnectionTests for automatic cleanup Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
Signed-off-by: affonsov <67347924+affonsov@users.noreply.github.com>
6c65c29
to
b21e811
Compare
This PR implements lazy connection functionality for the Java client, allowing client creation by deferring connection establishment until the first operation.
Changes:
Key Features:
Issue link
This Pull Request is linked to issue (URL): #4350
Checklist
Before submitting the PR make sure the following are checked: