public static class ExtendedOsStats.Cpu
extends java.lang.Object
implements org.elasticsearch.common.io.stream.Streamable
Constructor and Description |
---|
Cpu() |
Cpu(short sys,
short user,
short idle,
short stolen) |
Modifier and Type | Method and Description |
---|---|
short |
idle() |
void |
readFrom(org.elasticsearch.common.io.stream.StreamInput in) |
short |
stolen() |
short |
sys() |
short |
user() |
void |
writeTo(org.elasticsearch.common.io.stream.StreamOutput out) |
public short sys()
public short user()
public short idle()
public short stolen()
public void readFrom(org.elasticsearch.common.io.stream.StreamInput in) throws java.io.IOException
readFrom
in interface org.elasticsearch.common.io.stream.Streamable
java.io.IOException
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws java.io.IOException
writeTo
in interface org.elasticsearch.common.io.stream.Streamable
java.io.IOException