public abstract class NodesOperationResponse<NodeResponse extends NodeOperationResponse> extends ActionResponse implements Iterable<NodeResponse>
TransportResponse.Empty
Modifier and Type | Field and Description |
---|---|
protected NodeResponse[] |
nodes |
Modifier | Constructor and Description |
---|---|
protected |
NodesOperationResponse() |
protected |
NodesOperationResponse(ClusterName clusterName,
NodeResponse[] nodes) |
Modifier and Type | Method and Description |
---|---|
NodeResponse |
getAt(int position) |
ClusterName |
getClusterName() |
String |
getClusterNameAsString() |
NodeResponse[] |
getNodes() |
Map<String,NodeResponse> |
getNodesMap() |
Iterator<NodeResponse> |
iterator() |
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected NodeResponse extends NodeOperationResponse[] nodes
protected NodesOperationResponse()
protected NodesOperationResponse(ClusterName clusterName, NodeResponse[] nodes)
public ClusterName getClusterName()
public String getClusterNameAsString()
public NodeResponse[] getNodes()
public NodeResponse getAt(int position)
public Iterator<NodeResponse> iterator()
iterator
in interface Iterable<NodeResponse extends NodeOperationResponse>
public Map<String,NodeResponse> getNodesMap()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class ActionResponse
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class ActionResponse
IOException
Copyright © 2009–2015. All rights reserved.