public class ShardSegments extends BroadcastShardOperationResponse implements Iterable<Segment>
TransportResponse.Emptyheaders| 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, getShardIdputHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic 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 StreamablereadFrom in class BroadcastShardOperationResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BroadcastShardOperationResponseIOExceptionCopyright © 2009–2016. All rights reserved.