Last active
August 29, 2015 14:03
-
-
Save rjenkins/b0e81cf2209631ff54fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Command used to fetch multiple values from Riak | |
* <p> | |
* Riak itself does not support pipelining of requests. MutliFetch addresses this issue by using a thread to | |
* parallelize and manage a set of async fetch operations for a given set of keys. | |
* </p> | |
* <p> | |
* The result of executing this command is a {@code List} of {@link RiakFuture} objects, each one representing a single | |
* fetch operation. The returned {@code RiakFuture} that contains that list completes | |
* when all the FetchValue operations contained have finished. | |
* <p/> | |
* <pre> | |
* {@code | |
* MultiFetch multifetch = ...; | |
* MultiFetch.Response response = client.execute(multifetch); | |
... | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment