public static class FetchOperation.Builder extends Object
Constructor and Description |
---|
Builder(String tableName,
Iterable<Cell> keyValues) |
Modifier and Type | Method and Description |
---|---|
FetchOperation |
build() |
Iterable<Cell> |
getKeyValues() |
String |
getTableName() |
int |
getTimeout() |
FetchOperation.Builder |
withTimeout(int timeout)
Set the Riak-side timeout value.
|
public FetchOperation.Builder 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 FetchOperation build()
public String getTableName()
public int getTimeout()
Copyright © 2016. All rights reserved.