public class IndicesStatsResponse extends BroadcastResponse implements ToXContent
TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
headers
EMPTY_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, getTotalShards
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public 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 Streamable
readFrom
in class BroadcastResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastResponse
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2017. All rights reserved.