org.elasticsearch.monitor.process
Class ProcessStats

java.lang.Object
  extended by org.elasticsearch.monitor.process.ProcessStats
All Implemented Interfaces:
Serializable, Streamable, ToXContent

public class ProcessStats
extends Object
implements Streamable, Serializable, ToXContent

See Also:
Serialized Form

Nested Class Summary
static class ProcessStats.Cpu
           
static class ProcessStats.Mem
           
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Method Summary
 ProcessStats.Cpu cpu()
           
 ProcessStats.Cpu getCpu()
           
 ProcessStats.Mem getMem()
           
 long getOpenFileDescriptors()
           
 long getTimestamp()
           
 ProcessStats.Mem mem()
           
 long openFileDescriptors()
           
 void readFrom(StreamInput in)
           
static ProcessStats readProcessStats(StreamInput in)
           
 long timestamp()
           
 XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

timestamp

public long timestamp()

getTimestamp

public long getTimestamp()

openFileDescriptors

public long openFileDescriptors()

getOpenFileDescriptors

public long getOpenFileDescriptors()

cpu

public ProcessStats.Cpu cpu()

getCpu

public ProcessStats.Cpu getCpu()

mem

public ProcessStats.Mem mem()

getMem

public ProcessStats.Mem getMem()

toXContent

public XContentBuilder toXContent(XContentBuilder builder,
                                  ToXContent.Params params)
                           throws IOException
Specified by:
toXContent in interface ToXContent
Throws:
IOException

readProcessStats

public static ProcessStats readProcessStats(StreamInput in)
                                     throws IOException
Throws:
IOException

readFrom

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

writeTo

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


Copyright © 2009-2012. All Rights Reserved.