public static class YzPutIndexOperation.Builder extends Object
Constructor and Description |
---|
Builder(YokozunaIndex index) |
Modifier and Type | Method and Description |
---|---|
YzPutIndexOperation |
build() |
YzPutIndexOperation.Builder |
withTimeout(int timeout)
Set the Riak-side timeout value, available in Riak 2.1 and later.
|
public Builder(YokozunaIndex index)
public YzPutIndexOperation.Builder withTimeout(int timeout)
By default, riak has a 45s timeout for Yokozuna index creation. Setting this value will override that default for this operation.
timeout
- the timeout in milliseconds to be sent to riak.public YzPutIndexOperation build()
Copyright © 2016. All rights reserved.