public class NodesInfoResponse extends BaseNodesResponse<NodeInfo> implements ToXContent
TransportResponse.Empty
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_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, writeTo
remoteAddress, remoteAddress
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFragment
public 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
BaseNodesResponse
BaseNodesResponse.nodes
from the stream.readNodesFrom
in class BaseNodesResponse<NodeInfo>
null
.java.io.IOException
protected void writeNodesTo(StreamOutput out, java.util.List<NodeInfo> nodes) throws java.io.IOException
BaseNodesResponse
BaseNodesResponse.nodes
to the stream.writeNodesTo
in class BaseNodesResponse<NodeInfo>
java.io.IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object