public class NodesStatsResponse extends BaseNodesResponse<NodeStats> implements ToXContent
TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
nodes
headers
EMPTY_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, iterator
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public NodesStatsResponse(ClusterName clusterName, NodeStats[] nodes)
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BaseNodesResponse<NodeStats>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BaseNodesResponse<NodeStats>
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2016. All rights reserved.