org.elasticsearch.action.support.nodes
Class NodeOperationResponse

java.lang.Object
  extended by org.elasticsearch.action.support.nodes.NodeOperationResponse
All Implemented Interfaces:
Streamable
Direct Known Subclasses:
NodeHotThreads, NodeInfo, NodesRestartResponse.NodeRestartResponse, NodeStats, TransportNodesListGatewayMetaState.NodeLocalGatewayMetaState, TransportNodesListGatewayStartedShards.NodeLocalGatewayStartedShards, TransportNodesListShardStoreMetaData.NodeStoreFilesMetaData

public abstract class NodeOperationResponse
extends Object
implements Streamable

A base class for node level operations.


Constructor Summary
protected NodeOperationResponse()
           
protected NodeOperationResponse(DiscoveryNode node)
           
 
Method Summary
 DiscoveryNode getNode()
          The node this information relates to.
 DiscoveryNode node()
          The node this information relates to.
 void readFrom(StreamInput in)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeOperationResponse

protected NodeOperationResponse()

NodeOperationResponse

protected NodeOperationResponse(DiscoveryNode node)
Method Detail

node

public DiscoveryNode node()
The node this information relates to.


getNode

public DiscoveryNode getNode()
The node this information relates to.


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.