Constructor and Description |
---|
ListKeys.Builder(Namespace namespace)
Constructs a Builder for a ListKeys command.
|
Modifier and Type | Method and Description |
---|---|
ListKeys |
build()
Construct the ListKeys command.
|
ListKeys.Builder |
withTimeout(int timeout)
Set the Riak-side timeout value.
|
public ListKeys.Builder(Namespace namespace)
namespace
- the namespace from which to list keys.public ListKeys.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 ListKeys build()
Copyright © 2014. All rights reserved.