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
IOException
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–2016. All rights reserved.