org.elasticsearch.action.admin.cluster.health
Class ClusterShardHealth
java.lang.Object
org.elasticsearch.action.admin.cluster.health.ClusterShardHealth
- All Implemented Interfaces:
- Streamable
public class ClusterShardHealth
- extends java.lang.Object
- implements Streamable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public int id()
getId
public int getId()
status
public ClusterHealthStatus status()
getStatus
public ClusterHealthStatus getStatus()
relocatingShards
public int relocatingShards()
getRelocatingShards
public int getRelocatingShards()
activeShards
public int activeShards()
getActiveShards
public int getActiveShards()
primaryActive
public boolean primaryActive()
isPrimaryActive
public boolean isPrimaryActive()
initializingShards
public int initializingShards()
getInitializingShards
public int getInitializingShards()
unassignedShards
public int unassignedShards()
getUnassignedShards
public int getUnassignedShards()
readFrom
public void readFrom(StreamInput in)
throws java.io.IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
java.io.IOException
writeTo
public void writeTo(StreamOutput out)
throws java.io.IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
java.io.IOException