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

Node information (static, does not change over time).


Constructor Summary
NodeInfo(DiscoveryNode node, org.elasticsearch.common.collect.ImmutableMap<java.lang.String,java.lang.String> attributes, Settings settings, OsInfo os, ProcessInfo process, JvmInfo jvm, NetworkInfo network, ThreadPoolInfo threadPool, TransportInfo transport)
           
 
Method Summary
 org.elasticsearch.common.collect.ImmutableMap<java.lang.String,java.lang.String> attributes()
          The attributes of the node.
 org.elasticsearch.common.collect.ImmutableMap<java.lang.String,java.lang.String> getAttributes()
          The attributes of the node.
 JvmInfo getJvm()
          JVM level information.
 NetworkInfo getNetwork()
          Network level information.
 OsInfo getOs()
          Operating System level information.
 ProcessInfo getProcess()
          Process level information.
 Settings getSettings()
          The settings of the node.
 ThreadPoolInfo getThreadPool()
          Thread Pool level information.
 TransportInfo getTransport()
           
 JvmInfo jvm()
          JVM level information.
 NetworkInfo network()
          Network level information.
 OsInfo os()
          Operating System level information.
 ProcessInfo process()
          Process level information.
 void readFrom(StreamInput in)
           
static NodeInfo readNodeInfo(StreamInput in)
           
 Settings settings()
          The settings of the node.
 ThreadPoolInfo threadPool()
          Thread Pool level information.
 TransportInfo transport()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.nodes.NodeOperationResponse
getNode, 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,
                org.elasticsearch.common.collect.ImmutableMap<java.lang.String,java.lang.String> attributes,
                Settings settings,
                OsInfo os,
                ProcessInfo process,
                JvmInfo jvm,
                NetworkInfo network,
                ThreadPoolInfo threadPool,
                TransportInfo transport)
Method Detail

attributes

public org.elasticsearch.common.collect.ImmutableMap<java.lang.String,java.lang.String> attributes()
The attributes of the node.


getAttributes

public org.elasticsearch.common.collect.ImmutableMap<java.lang.String,java.lang.String> getAttributes()
The attributes of the node.


settings

public Settings settings()
The settings of the node.


getSettings

public Settings getSettings()
The settings of the node.


os

public OsInfo os()
Operating System level information.


getOs

public OsInfo getOs()
Operating System level information.


process

public ProcessInfo process()
Process level information.


getProcess

public ProcessInfo getProcess()
Process level information.


jvm

public JvmInfo jvm()
JVM level information.


getJvm

public JvmInfo getJvm()
JVM level information.


network

public NetworkInfo network()
Network level information.


getNetwork

public NetworkInfo getNetwork()
Network level information.


threadPool

public ThreadPoolInfo threadPool()
Thread Pool level information.


getThreadPool

public ThreadPoolInfo getThreadPool()
Thread Pool level information.


transport

public TransportInfo transport()

getTransport

public TransportInfo getTransport()

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