org.elasticsearch.action.admin.cluster.node.stats
Class NodeStats

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

public class NodeStats
extends NodeOperationResponse

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


Constructor Summary
NodeStats(DiscoveryNode node, NodeIndicesStats indices, OsStats os, ProcessStats process, JvmStats jvm, NetworkStats network, TransportStats transport, HttpStats http)
           
 
Method Summary
 HttpStats getHttp()
           
 NodeIndicesStats getIndices()
          Indices level stats.
 JvmStats getJvm()
          JVM level statistics.
 NetworkStats getNetwork()
          Network level statistics.
 OsStats getOs()
          Operating System level statistics.
 ProcessStats getProcess()
          Process level statistics.
 TransportStats getTransport()
           
 HttpStats http()
           
 NodeIndicesStats indices()
          Indices level stats.
 JvmStats jvm()
          JVM level statistics.
 NetworkStats network()
          Network level statistics.
 OsStats os()
          Operating System level statistics.
 ProcessStats process()
          Process level statistics.
 void readFrom(StreamInput in)
           
static NodeStats readNodeStats(StreamInput in)
           
 TransportStats 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

NodeStats

public NodeStats(DiscoveryNode node,
                 NodeIndicesStats indices,
                 OsStats os,
                 ProcessStats process,
                 JvmStats jvm,
                 NetworkStats network,
                 TransportStats transport,
                 @Nullable
                 HttpStats http)
Method Detail

indices

public NodeIndicesStats indices()
Indices level stats.


getIndices

public NodeIndicesStats getIndices()
Indices level stats.


os

public OsStats os()
Operating System level statistics.


getOs

public OsStats getOs()
Operating System level statistics.


process

public ProcessStats process()
Process level statistics.


getProcess

public ProcessStats getProcess()
Process level statistics.


jvm

public JvmStats jvm()
JVM level statistics.


getJvm

public JvmStats getJvm()
JVM level statistics.


network

public NetworkStats network()
Network level statistics.


getNetwork

public NetworkStats getNetwork()
Network level statistics.


transport

public TransportStats transport()

getTransport

public TransportStats getTransport()

http

public HttpStats http()

getHttp

public HttpStats getHttp()

readNodeStats

public static NodeStats readNodeStats(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