org.elasticsearch.action.admin.cluster.node.stats
Class NodesStatsResponse
java.lang.Object
org.elasticsearch.action.support.nodes.NodesOperationResponse<NodeStats>
org.elasticsearch.action.admin.cluster.node.stats.NodesStatsResponse
- All Implemented Interfaces:
- Iterable<NodeStats>, ActionResponse, Streamable, ToXContent
public class NodesStatsResponse
- extends NodesOperationResponse<NodeStats>
- implements ToXContent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodesStatsResponse
public NodesStatsResponse(ClusterName clusterName,
NodeStats[] nodes)
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Overrides:
readFrom
in class NodesOperationResponse<NodeStats>
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Overrides:
writeTo
in class NodesOperationResponse<NodeStats>
- Throws:
IOException
toXContent
public XContentBuilder toXContent(XContentBuilder builder,
ToXContent.Params params)
throws IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.