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