-
Notifications
You must be signed in to change notification settings - Fork 615
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
ISPN-14628 LLEN command #10960
ISPN-14628 LLEN command #10960
Conversation
@jabolina rebased from main |
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.
Looks good, needs another rebase.
Integrated into main, thanks @karesti! |
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.
Just some minor things
byte[] key = arguments.get(0); | ||
EmbeddedMultimapListCache<byte[], byte[]> listMultimap = handler.getListMultimap(); | ||
|
||
return CompletionStages.handleAndCompose(listMultimap.size(key) ,(size, t) -> { |
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.
Couldn't this just use thenApply
on the stage returned from size method?
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.
you mean not using the handleAndCompose and instead using directly thenApply ?
https://issues.redhat.com/browse/ISPN-14628