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) |
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)
protected abstract T self()
Copyright © 2014. All rights reserved.