org.elasticsearch.monitor.process
Class ProcessStats
java.lang.Object
org.elasticsearch.monitor.process.ProcessStats
- All Implemented Interfaces:
- java.io.Serializable, Streamable, ToXContent
public class ProcessStats
- extends java.lang.Object
- implements Streamable, java.io.Serializable, ToXContent
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 java.io.IOException
- Specified by:
toXContent
in interface ToXContent
- Throws:
java.io.IOException
readProcessStats
public static ProcessStats readProcessStats(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
- Throws:
java.io.IOException
writeTo
public void writeTo(StreamOutput out)
throws java.io.IOException
- Specified by:
writeTo
in interface Streamable
- Throws:
java.io.IOException