public class ShardSegments extends java.lang.Object implements Streamable, java.lang.Iterable<Segment>
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfCommitted() |
int |
getNumberOfSearch() |
java.util.List<Segment> |
getSegments() |
ShardRouting |
getShardRouting() |
java.util.Iterator<Segment> |
iterator() |
void |
readFrom(StreamInput in)
Set this object's fields from a StreamInput.
|
static ShardSegments |
readShardSegments(StreamInput in) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
public java.util.Iterator<Segment> iterator()
iterator
in interface java.lang.Iterable<Segment>
public ShardRouting getShardRouting()
public java.util.List<Segment> getSegments()
public int getNumberOfCommitted()
public int getNumberOfSearch()
public static ShardSegments readShardSegments(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
java.io.IOException