public class NodesStatsResponse extends BaseNodesResponse<NodeStats> implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsnodesheadersEMPTY_PARAMS| Constructor and Description |
|---|
NodesStatsResponse(ClusterName clusterName,
NodeStats[] nodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
readFrom(StreamInput in) |
String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
failures, getAt, getClusterName, getClusterNameAsString, getNodes, getNodesMap, iteratorremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic NodesStatsResponse(ClusterName clusterName, NodeStats[] nodes)
public void readFrom(StreamInput in) throws IOException
readFrom in interface StreamablereadFrom in class BaseNodesResponse<NodeStats>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BaseNodesResponse<NodeStats>IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent in interface ToXContentIOExceptionCopyright © 2009–2017. All rights reserved.