public abstract class AbstractMultiINodeActionBuilder<T extends Action,K> extends AbstractAction.Builder<T,K>
cleanApiParameters, headers, parameters| Constructor and Description |
|---|
AbstractMultiINodeActionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
K |
addNode(Collection<? extends String> nodes)
Most cluster level APIs allow to specify which nodes to execute on (for example, getting the node stats for a node).
|
K |
addNode(String node)
Most cluster level APIs allow to specify which nodes to execute on (for example, getting the node stats for a node).
|
abstract T |
build() |
String |
getJoinedNodes() |
addCleanApiParameter, refresh, removeCleanApiParameter, resultCasing, setHeader, setHeader, setParameter, setParameter, toggleApiParameterpublic K addNode(String node)
# Local -> _local
# Address -> 10.0.0.3,10.0.0.4
-> 10.0.0.*
# Names -> node_name_goes_here
-> node_name_goes_*
# Attributes (set something like node.rack: 2 in the config)
-> rack:2
-> ra*:2
-> ra*:2*
public K addNode(Collection<? extends String> nodes)
# Local -> _local
# Address -> 10.0.0.3,10.0.0.4
-> 10.0.0.*
# Names -> node_name_goes_here
-> node_name_goes_*
# Attributes (set something like node.rack: 2 in the config)
-> rack:2
-> ra*:2
-> ra*:2*
public String getJoinedNodes()
Copyright © 2017. All rights reserved.