public static class MultiFetch.Builder extends MultiCommand.Builder<MultiFetch,MultiFetch.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MultiFetch |
build()
Build a
MultiFetch operation from this builder |
protected MultiFetch.Builder |
self() |
MultiFetch.Builder |
withTimeout(int timeout)
Set the Riak-side timeout value.
|
addLocation, addLocations, addLocations, withMaxInFlight, withOption
public MultiFetch.Builder withTimeout(int timeout)
By default, riak has a 60s timeout for operations. Setting this value will override that default for each fetch.
timeout
- the timeout in milliseconds to be sent to riak.public MultiFetch build()
MultiFetch
operation from this builderbuild
in class MultiCommand.Builder<MultiFetch,MultiFetch.Builder>
MultiFetch
operationprotected MultiFetch.Builder self()
self
in class MultiCommand.Builder<MultiFetch,MultiFetch.Builder>
Copyright © 2016. All rights reserved.