org.elasticsearch.action.admin.cluster.node.info
Class NodeInfo
java.lang.Object
org.elasticsearch.action.support.nodes.NodeOperationResponse
org.elasticsearch.action.admin.cluster.node.info.NodeInfo
- All Implemented Interfaces:
- Streamable
public class NodeInfo
- extends NodeOperationResponse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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