public class IndicesStatsResponse extends BroadcastResponse implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_PARAMS| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<ShardRouting,ShardStats> |
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, getTotalShardsremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic com.google.common.collect.ImmutableMap<ShardRouting,ShardStats> 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 BroadcastResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BroadcastResponseIOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.