org.elasticsearch.action.admin.cluster.health
Class ClusterShardHealth

java.lang.Object
  extended by org.elasticsearch.action.admin.cluster.health.ClusterShardHealth
All Implemented Interfaces:
Streamable

public class ClusterShardHealth
extends Object
implements Streamable


Method Summary
 int activeShards()
           
 int getActiveShards()
           
 int getId()
           
 int getInitializingShards()
           
 int getRelocatingShards()
           
 ClusterHealthStatus getStatus()
           
 int getUnassignedShards()
           
 int id()
           
 int initializingShards()
           
 boolean isPrimaryActive()
           
 boolean primaryActive()
           
 void readFrom(StreamInput in)
           
 int relocatingShards()
           
 ClusterHealthStatus status()
           
 int unassignedShards()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 IOException
Specified by:
readFrom in interface Streamable
Throws:
IOException

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.