Skip to content
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: Groom transaction docs and add some tests. #1820

Merged

Conversation

Yury-Fridlyand
Copy link
Collaborator

@Yury-Fridlyand Yury-Fridlyand commented Jul 5, 2024

Issue #, if available:
N/A

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.

@Yury-Fridlyand Yury-Fridlyand added the java issues and fixes related to the java client label Jul 5, 2024
@Yury-Fridlyand Yury-Fridlyand requested a review from a team as a code owner July 5, 2024 03:40
* the <code>Transaction</code>. The response for each command depends on the executed Redis
* command. Specific response types are documented alongside each method.
* <p>Transaction Response: An <code>array</code> of command responses is returned by the client
* {@link RedisClient#exec} API, in the order they were given. Each element in the array represents
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: in ClusterTransaction we use "command" instead of "API", which I think we can use here too

Suggested change
* {@link RedisClient#exec} API, in the order they were given. Each element in the array represents
* {@link RedisClient#exec} command, in the order they were given. Each element in the array represents

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our exec API doesn't 1:1 reflect command exec. What do you think?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe API then, should we use API in the other spots as well to be consistent? Not a big deal either way though

This was referenced Jul 5, 2024
@Yury-Fridlyand Yury-Fridlyand force-pushed the java/integ_yuryf_groom_transaction branch from b2680d4 to c69fd39 Compare July 6, 2024 01:10
@Yury-Fridlyand Yury-Fridlyand force-pushed the java/integ_yuryf_groom_transaction branch from 7735b64 to 40790bd Compare July 6, 2024 02:34
@acarbonetto acarbonetto merged commit 6d73d6e into valkey-io:main Jul 6, 2024
17 checks passed
@acarbonetto acarbonetto deleted the java/integ_yuryf_groom_transaction branch July 6, 2024 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java issues and fixes related to the java client
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

5 participants