-
Notifications
You must be signed in to change notification settings - Fork 69
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
Java: Groom transaction docs and add some tests. #1820
Conversation
* 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 |
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.
nit: in ClusterTransaction we use "command" instead of "API", which I think we can use here too
* {@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 |
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.
Our exec
API doesn't 1:1 reflect command exec
. What do you think?
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.
Maybe API then, should we use API in the other spots as well to be consistent? Not a big deal either way though
java/client/src/main/java/glide/api/models/BaseTransaction.java
Outdated
Show resolved
Hide resolved
java/client/src/main/java/glide/api/models/BaseTransaction.java
Outdated
Show resolved
Hide resolved
java/client/src/main/java/glide/api/models/BaseTransaction.java
Outdated
Show resolved
Hide resolved
java/client/src/main/java/glide/api/models/BaseTransaction.java
Outdated
Show resolved
Hide resolved
java/client/src/main/java/glide/api/models/BaseTransaction.java
Outdated
Show resolved
Hide resolved
java/client/src/main/java/glide/api/models/BaseTransaction.java
Outdated
Show resolved
Hide resolved
b2680d4
to
c69fd39
Compare
java/client/src/main/java/glide/api/models/ClusterTransaction.java
Outdated
Show resolved
Hide resolved
7735b64
to
40790bd
Compare
Issue #, if available:
N/A
Description of changes:
binaryOutput
and how it is set (similar to scripts Java: store pointers in scripts #1795)@implNote
(ref: Java txn: completed the remaining commands to support binary version #1777 and Changed the API to support binary transaction #1731)code
tagsArgsBuilder
from exportsBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.