public class NodesStatsResponse extends NodesOperationResponse<NodeStats> implements ToXContent
TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
nodes
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) |
getAt, getClusterName, getClusterNameAsString, getNodes, getNodesMap, iterator
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, 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 NodesOperationResponse<NodeStats>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class NodesOperationResponse<NodeStats>
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent
in interface ToXContent
IOException
Copyright © 2009–2015. All rights reserved.