public final class ClusterIndexHealth extends Object implements Iterable<ClusterShardHealth>, Streamable, ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
ClusterIndexHealth(IndexMetaData indexMetaData,
IndexRoutingTable indexRoutingTable) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getActivePrimaryShards() |
int |
getActiveShards() |
String |
getIndex() |
int |
getInitializingShards() |
int |
getNumberOfReplicas() |
int |
getNumberOfShards() |
int |
getRelocatingShards() |
Map<Integer,ClusterShardHealth> |
getShards() |
ClusterHealthStatus |
getStatus() |
int |
getUnassignedShards() |
List<String> |
getValidationFailures() |
Iterator<ClusterShardHealth> |
iterator() |
static ClusterIndexHealth |
readClusterIndexHealth(StreamInput in) |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ClusterIndexHealth(IndexMetaData indexMetaData, IndexRoutingTable indexRoutingTable)
public String getIndex()
public int getNumberOfShards()
public int getNumberOfReplicas()
public int getActiveShards()
public int getRelocatingShards()
public int getActivePrimaryShards()
public int getInitializingShards()
public int getUnassignedShards()
public ClusterHealthStatus getStatus()
public Map<Integer,ClusterShardHealth> getShards()
public Iterator<ClusterShardHealth> iterator()
iterator インタフェース内 Iterable<ClusterShardHealth>public static ClusterIndexHealth readClusterIndexHealth(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.