public class IndicesStatsResponse extends BroadcastOperationResponse implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<ShardRouting,CommonStats> |
asMap() |
ShardStats |
getAt(int position) |
IndexStats |
getIndex(String index) |
Map<String,IndexStats> |
getIndices() |
CommonStats |
getPrimaries() |
ShardStats[] |
getShards() |
CommonStats |
getTotal() |
void |
readFrom(StreamInput in) |
String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
getFailedShards, getShardFailures, getSuccessfulShards, getTotalShardsputHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextpublic com.google.common.collect.ImmutableMap<ShardRouting,CommonStats> asMap()
public ShardStats[] getShards()
public ShardStats getAt(int position)
public IndexStats getIndex(String index)
public Map<String,IndexStats> getIndices()
public CommonStats getTotal()
public CommonStats getPrimaries()
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class BroadcastOperationResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BroadcastOperationResponseIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2016. All rights reserved.