| Package | Description |
|---|---|
| org.elasticsearch.node |
Allow to build a
Node using NodeBuilder which is a
node within the cluster. |
| Modifier and Type | Method and Description |
|---|---|
NodeBuilder |
NodeBuilder.client(boolean client)
Is the node going to be a client node which means it will hold no data (node.data is
set to false) and other optimizations by different modules.
|
NodeBuilder |
NodeBuilder.clusterName(String clusterName)
The cluster name this node is part of (maps to the cluster.name setting).
|
NodeBuilder |
NodeBuilder.data(boolean data)
Is the node going to be allowed to allocate data (shards) to it or not.
|
NodeBuilder |
NodeBuilder.local(boolean local)
Is the node a local node.
|
static NodeBuilder |
NodeBuilder.nodeBuilder()
A convenient factory method to create a
NodeBuilder. |
NodeBuilder |
NodeBuilder.settings(Settings.Builder settings)
Explicit node settings to set.
|
NodeBuilder |
NodeBuilder.settings(Settings settings)
Explicit node settings to set.
|
Copyright © 2009–2017. All rights reserved.