public class ShardSegments extends BroadcastShardOperationResponse implements Iterable<Segment>
TransportResponse.Empty
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) |
getIndex, getShardId
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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
readFrom
in class BroadcastShardOperationResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastShardOperationResponse
IOException
Copyright © 2009–2015. All rights reserved.