public class NodesInfoResponse extends BaseNodesResponse<NodeInfo> implements ToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| Constructor and Description |
|---|
NodesInfoResponse() |
NodesInfoResponse(ClusterName clusterName,
java.util.List<NodeInfo> nodes,
java.util.List<FailedNodeException> failures) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<NodeInfo> |
readNodesFrom(StreamInput in)
Read the
BaseNodesResponse.nodes from the stream. |
java.lang.String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
protected void |
writeNodesTo(StreamOutput out,
java.util.List<NodeInfo> nodes)
Write the
BaseNodesResponse.nodes to the stream. |
failures, getClusterName, getNodes, getNodesMap, hasFailures, readFrom, writeToremoteAddress, remoteAddressclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisFragmentpublic NodesInfoResponse()
public NodesInfoResponse(ClusterName clusterName, java.util.List<NodeInfo> nodes, java.util.List<FailedNodeException> failures)
protected java.util.List<NodeInfo> readNodesFrom(StreamInput in) throws java.io.IOException
BaseNodesResponseBaseNodesResponse.nodes from the stream.readNodesFrom in class BaseNodesResponse<NodeInfo>null.java.io.IOExceptionprotected void writeNodesTo(StreamOutput out, java.util.List<NodeInfo> nodes) throws java.io.IOException
BaseNodesResponseBaseNodesResponse.nodes to the stream.writeNodesTo in class BaseNodesResponse<NodeInfo>java.io.IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object