public static class OsStats.Cpu extends Object implements Streamable, Serializable
Modifier and Type | Method and Description |
---|---|
short |
getIdle() |
short |
getStolen() |
short |
getSys() |
short |
getUser() |
short |
idle() |
static OsStats.Cpu |
readCpu(StreamInput in) |
void |
readFrom(StreamInput in) |
short |
stolen() |
short |
sys() |
short |
user() |
void |
writeTo(StreamOutput out) |
public static OsStats.Cpu readCpu(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
public short sys()
public short getSys()
public short user()
public short getUser()
public short idle()
public short getIdle()
public short stolen()
public short getStolen()
Copyright © 2009–2015. All rights reserved.