T - protected abstract static class FetchDatatype.Builder<T extends FetchDatatype.Builder<T>> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
FetchDatatype.Builder(Location location) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
self() |
<U> T |
withOption(FetchDatatype.Option<U> option,
U value)
Add an optional setting for this command.
|
T |
withTimeout(int timeout)
Set the Riak-side timeout value.
|
protected FetchDatatype.Builder(Location location)
public T withTimeout(int timeout)
By default, riak has a 60s timeout for operations. Setting this value will override that default for this operation.
timeout - the timeout in milliseconds to be sent to riak.public <U> T withOption(FetchDatatype.Option<U> option, U value)
option - the optionvalue - the value for the optionFetchDatatype.Optionprotected abstract T self()
Copyright © 2015. All rights reserved.