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 (dynamic, changes depending on when created).


Constructor Summary
NodeStats(DiscoveryNode node, long timestamp, String hostname, NodeIndicesStats indices, OsStats os, ProcessStats process, JvmStats jvm, ThreadPoolStats threadPool, NetworkStats network, FsStats fs, TransportStats transport, HttpStats http)
           
 
Method Summary
 FsStats fs()
          File system level stats.
 FsStats getFs()
          File system level stats.
 String getHostname()
           
 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.
 ThreadPoolStats getThreadPool()
          Thread Pool level statistics.
 long getTimestamp()
           
 TransportStats getTransport()
           
 String hostname()
           
 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)
           
 ThreadPoolStats threadPool()
          Thread Pool level statistics.
 long timestamp()
           
 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,
                 long timestamp,
                 @Nullable
                 String hostname,
                 @Nullable
                 NodeIndicesStats indices,
                 @Nullable
                 OsStats os,
                 @Nullable
                 ProcessStats process,
                 @Nullable
                 JvmStats jvm,
                 @Nullable
                 ThreadPoolStats threadPool,
                 @Nullable
                 NetworkStats network,
                 @Nullable
                 FsStats fs,
                 @Nullable
                 TransportStats transport,
                 @Nullable
                 HttpStats http)
Method Detail

timestamp

public long timestamp()

getTimestamp

public long getTimestamp()

hostname

@Nullable
public String hostname()

getHostname

@Nullable
public String getHostname()

indices

@Nullable
public NodeIndicesStats indices()
Indices level stats.


getIndices

@Nullable
public NodeIndicesStats getIndices()
Indices level stats.


os

@Nullable
public OsStats os()
Operating System level statistics.


getOs

@Nullable
public OsStats getOs()
Operating System level statistics.


process

@Nullable
public ProcessStats process()
Process level statistics.


getProcess

@Nullable
public ProcessStats getProcess()
Process level statistics.


jvm

@Nullable
public JvmStats jvm()
JVM level statistics.


getJvm

@Nullable
public JvmStats getJvm()
JVM level statistics.


threadPool

@Nullable
public ThreadPoolStats threadPool()
Thread Pool level statistics.


getThreadPool

@Nullable
public ThreadPoolStats getThreadPool()
Thread Pool level statistics.


network

@Nullable
public NetworkStats network()
Network level statistics.


getNetwork

@Nullable
public NetworkStats getNetwork()
Network level statistics.


fs

@Nullable
public FsStats fs()
File system level stats.


getFs

@Nullable
public FsStats getFs()
File system level stats.


transport

@Nullable
public TransportStats transport()

getTransport

@Nullable
public TransportStats getTransport()

http

@Nullable
public HttpStats http()

getHttp

@Nullable
public HttpStats getHttp()

readNodeStats

public static NodeStats readNodeStats(StreamInput in)
                               throws IOException
Throws:
IOException

readFrom

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

writeTo

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


Copyright © 2009-2012. All Rights Reserved.