public final class ClusterShardHealth extends Object implements Streamable
Constructor and Description |
---|
ClusterShardHealth(int shardId,
IndexShardRoutingTable shardRoutingTable) |
Modifier and Type | Method and Description |
---|---|
int |
getActiveShards() |
int |
getId() |
int |
getInitializingShards() |
int |
getRelocatingShards() |
ClusterHealthStatus |
getStatus() |
int |
getUnassignedShards() |
boolean |
isPrimaryActive() |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
public ClusterShardHealth(int shardId, IndexShardRoutingTable shardRoutingTable)
public int getId()
public ClusterHealthStatus getStatus()
public int getRelocatingShards()
public int getActiveShards()
public boolean isPrimaryActive()
public int getInitializingShards()
public int getUnassignedShards()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
Copyright © 2009–2017. All rights reserved.