org.elasticsearch.action.admin.cluster.node.info
Class NodeInfo

java.lang.Object
  extended by org.elasticsearch.action.support.nodes.NodeOperationResponse
      extended by org.elasticsearch.action.admin.cluster.node.info.NodeInfo
All Implemented Interfaces:
Streamable

public class NodeInfo
extends NodeOperationResponse


Constructor Summary
NodeInfo(DiscoveryNode node, com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> attributes, Settings settings)
           
NodeInfo(DiscoveryNode node, java.util.Map<java.lang.String,java.lang.String> attributes, Settings settings)
           
 
Method Summary
 com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> attributes()
           
 void readFrom(StreamInput in)
           
static NodeInfo readNodeInfo(StreamInput in)
           
 Settings settings()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.nodes.NodeOperationResponse
node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeInfo

public NodeInfo(DiscoveryNode node,
                java.util.Map<java.lang.String,java.lang.String> attributes,
                Settings settings)

NodeInfo

public NodeInfo(DiscoveryNode node,
                com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> attributes,
                Settings settings)
Method Detail

attributes

public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> attributes()

settings

public Settings settings()

readNodeInfo

public static NodeInfo readNodeInfo(StreamInput in)
                             throws java.io.IOException
Throws:
java.io.IOException

readFrom

public void readFrom(StreamInput in)
              throws java.io.IOException
Specified by:
readFrom in interface Streamable
Overrides:
readFrom in class NodeOperationResponse
Throws:
java.io.IOException

writeTo

public void writeTo(StreamOutput out)
             throws java.io.IOException
Specified by:
writeTo in interface Streamable
Overrides:
writeTo in class NodeOperationResponse
Throws:
java.io.IOException