org.elasticsearch.monitor.os
Class OsStats.Cpu

java.lang.Object
  extended by org.elasticsearch.monitor.os.OsStats.Cpu
All Implemented Interfaces:
Serializable, Streamable
Enclosing class:
OsStats

public static class OsStats.Cpu
extends Object
implements Streamable, Serializable

See Also:
Serialized Form

Method Summary
 short getIdle()
           
 short getSys()
           
 short getUser()
           
 short idle()
           
static OsStats.Cpu readCpu(StreamInput in)
           
 void readFrom(StreamInput in)
           
 short sys()
           
 short user()
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readCpu

public static OsStats.Cpu readCpu(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

sys

public short sys()

getSys

public short getSys()

user

public short user()

getUser

public short getUser()

idle

public short idle()

getIdle

public short getIdle()


Copyright © 2009-2012. All Rights Reserved.