public class ShardSegments extends Object implements Streamable, Iterable<Segment>
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfCommitted() |
int |
getNumberOfSearch() |
List<Segment> |
getSegments() |
ShardRouting |
getShardRouting() |
Iterator<Segment> |
iterator() |
void |
readFrom(StreamInput in) |
static ShardSegments |
readShardSegments(StreamInput in) |
void |
writeTo(StreamOutput out) |
public ShardRouting getShardRouting()
public int getNumberOfCommitted()
public int getNumberOfSearch()
public static ShardSegments readShardSegments(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionCopyright © 2009–2017. All rights reserved.