public class IndexShardStats extends Object implements Iterable<ShardStats>, Streamable
| Constructor and Description |
|---|
IndexShardStats(ShardId shardId,
ShardStats[] shards) |
| Modifier and Type | Method and Description |
|---|---|
ShardStats |
getAt(int position) |
CommonStats |
getPrimary() |
ShardId |
getShardId() |
ShardStats[] |
getShards() |
CommonStats |
getTotal() |
Iterator<ShardStats> |
iterator() |
void |
readFrom(StreamInput in) |
static IndexShardStats |
readIndexShardStats(StreamInput in) |
void |
writeTo(StreamOutput out) |
public IndexShardStats(ShardId shardId, ShardStats[] shards)
public ShardId getShardId()
public ShardStats[] getShards()
public ShardStats getAt(int position)
public Iterator<ShardStats> iterator()
iterator in interface Iterable<ShardStats>public CommonStats getTotal()
public CommonStats getPrimary()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic static IndexShardStats readIndexShardStats(StreamInput in) throws IOException
IOExceptionCopyright © 2009–2017. All rights reserved.