-
Notifications
You must be signed in to change notification settings - Fork 0
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: new xautoclaim #408
Java: new xautoclaim #408
Conversation
"COUNT", | ||
Long.toString(count), | ||
"JUSTID" |
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.
These two should be constants stored somewhere. I think we already have them, because other stream commands have same keywords
* @param minIdleTime The minimum idle time for the message to be claimed. | ||
* @param start Filters the claimed entries to those that have an ID equal or greater than the | ||
* specified value. | ||
* @return An array containing the following elements: - A stream ID to be used as the start |
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.
Why dashes in the middle of the strings? Do you want to use a list?
Try html ul
and li
tags for that - see other docs for example.
* | ||
* @see <a href ="https://valkey.io/commands/xautoclaim">valkey.io</a> for details. | ||
* @param key The key of the stream. | ||
* @param group The consumer group name |
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.
* @param group The consumer group name | |
* @param group The consumer group name. |
* | ||
* @see <a href ="https://valkey.io/commands/xautoclaim">valkey.io</a> for details. | ||
* @param key The key of the stream. | ||
* @param group The consumer group name |
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.
* @param group The consumer group name | |
* @param group The consumer group name. |
* | ||
* @see <a href ="https://valkey.io/commands/xautoclaim">valkey.io</a> for details. | ||
* @param key The key of the stream. | ||
* @param group The consumer group name |
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.
* @param group The consumer group name | |
* @param group The consumer group name. |
* | ||
* @see <a href ="https://valkey.io/commands/xautoclaim">valkey.io</a> for details. | ||
* @param key The key of the stream. | ||
* @param group The consumer group name |
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.
* @param group The consumer group name | |
* @param group The consumer group name. |
* | ||
* @see <a href ="https://valkey.io/commands/xautoclaim">valkey.io</a> for details. | ||
* @param key The key of the stream. | ||
* @param group The consumer group name |
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.
* @param group The consumer group name | |
* @param group The consumer group name. |
* | ||
* @see <a href ="https://valkey.io/commands/xautoclaim">valkey.io</a> for details. | ||
* @param key The key of the stream. | ||
* @param group The consumer group name |
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.
* @param group The consumer group name | |
* @param group The consumer group name. |
* | ||
* @see <a href ="https://valkey.io/commands/xautoclaim">valkey.io</a> for details. | ||
* @param key The key of the stream. | ||
* @param group The consumer group name |
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.
* @param group The consumer group name | |
* @param group The consumer group name. |
* longer exist in the stream. These IDs are deleted from the Pending Entries List. | ||
*/ | ||
public <ArgType> T xautoclaim( | ||
@NonNull String key, |
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.
I think you need to use ArgType
instead of String
everywhere in transaction
@NonNull String key, | |
@NonNull ArgType key, |
dea790b
to
26db1f4
Compare
388b572
to
4a53b16
Compare
f30d190
to
3649c42
Compare
Issue #, if available:
Description of changes:
issues with the PR build
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.