Package | Description |
---|---|
com.basho.riak.client.core |
Modifier and Type | Method and Description |
---|---|
static RiakCluster.Builder |
RiakCluster.builder(List<RiakNode> nodes) |
static RiakCluster.Builder |
RiakCluster.builder(RiakNode node) |
RiakCluster.Builder |
RiakCluster.Builder.withBootstrap(io.netty.bootstrap.Bootstrap bootstrap)
The Netty
Bootstrap this cluster will use. |
RiakCluster.Builder |
RiakCluster.Builder.withExecutionAttempts(int numberOfAttempts)
Sets the number of times the
RiakCluster will attempt an
operation before returning it as failed. |
RiakCluster.Builder |
RiakCluster.Builder.withExecutor(ScheduledExecutorService executor)
Sets the Threadpool for this cluster.
|
RiakCluster.Builder |
RiakCluster.Builder.withNodeManager(NodeManager nodeManager)
|
RiakCluster.Builder |
RiakCluster.Builder.withOperationQueueMaxDepth(int operationQueueMaxDepth)
Set the maximum number of operations to queue.
|
Copyright © 2016. All rights reserved.