org.elasticsearch.action.support.nodes
Class NodesOperationResponse<NodeResponse extends NodeOperationResponse>
java.lang.Object
org.elasticsearch.action.support.nodes.NodesOperationResponse<NodeResponse>
- All Implemented Interfaces:
- Iterable<NodeResponse>, ActionResponse, Streamable
- Direct Known Subclasses:
- NodesHotThreadsResponse, NodesInfoResponse, NodesRestartResponse, NodesStatsResponse, TransportNodesListGatewayMetaState.NodesLocalGatewayMetaState, TransportNodesListGatewayStartedShards.NodesLocalGatewayStartedShards, TransportNodesListShardStoreMetaData.NodesStoreFilesMetaData
public abstract class NodesOperationResponse<NodeResponse extends NodeOperationResponse>
- extends Object
- implements ActionResponse, Iterable<NodeResponse>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodes
protected NodeResponse extends NodeOperationResponse[] nodes
NodesOperationResponse
protected NodesOperationResponse()
NodesOperationResponse
protected NodesOperationResponse(ClusterName clusterName,
NodeResponse[] nodes)
clusterName
public ClusterName clusterName()
getClusterName
public String getClusterName()
nodes
public NodeResponse[] nodes()
getNodes
public NodeResponse[] getNodes()
getAt
public NodeResponse getAt(int position)
iterator
public Iterator<NodeResponse> iterator()
- Specified by:
iterator
in interface Iterable<NodeResponse extends NodeOperationResponse>
nodesMap
public Map<String,NodeResponse> nodesMap()
getNodesMap
public Map<String,NodeResponse> getNodesMap()
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.