public class Cluster extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Cluster.Factory |
| Constructor and Description |
|---|
Cluster(org.elasticsearch.client.Client client,
Deflector deflector,
Indexer indexer) |
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveShards() |
List<org.elasticsearch.action.admin.cluster.node.info.NodeInfo> |
getAllNodes() |
List<org.elasticsearch.action.admin.cluster.node.info.NodeInfo> |
getDataNodes() |
org.elasticsearch.action.admin.cluster.health.ClusterHealthStatus |
getHealth() |
int |
getInitializingShards() |
String |
getName() |
int |
getNumberOfNodes() |
int |
getRelocatingShards() |
int |
getUnassignedShards() |
public String getName()
public org.elasticsearch.action.admin.cluster.health.ClusterHealthStatus getHealth()
public int getActiveShards()
public int getInitializingShards()
public int getUnassignedShards()
public int getRelocatingShards()
public int getNumberOfNodes()
public List<org.elasticsearch.action.admin.cluster.node.info.NodeInfo> getDataNodes()
public List<org.elasticsearch.action.admin.cluster.node.info.NodeInfo> getAllNodes()
Copyright © 2012–2014 TORCH GmbH. All rights reserved.