public static class ProcessStats.Cpu extends Object implements Streamable, Serializable
| Modifier and Type | Method and Description |
|---|---|
short |
getPercent()
Get the Process cpu usage.
|
TimeValue |
getSys()
Get the Process cpu kernel time.
|
TimeValue |
getTotal()
Get the Process cpu time (sum of User and Sys).
|
TimeValue |
getUser()
Get the Process cpu user time.
|
short |
percent()
Get the Process cpu usage.
|
static ProcessStats.Cpu |
readCpu(StreamInput in) |
void |
readFrom(StreamInput in) |
TimeValue |
sys()
Get the Process cpu kernel time.
|
TimeValue |
total()
Get the Process cpu time (sum of User and Sys).
|
TimeValue |
user()
Get the Process cpu user time.
|
void |
writeTo(StreamOutput out) |
public static ProcessStats.Cpu readCpu(StreamInput in) throws IOException
IOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom in interface StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamableIOExceptionpublic short percent()
Supported Platforms: All.
public short getPercent()
Supported Platforms: All.
public TimeValue sys()
Supported Platforms: All.
public TimeValue getSys()
Supported Platforms: All.
public TimeValue user()
Supported Platforms: All.
public TimeValue total()
public TimeValue getTotal()
public TimeValue getUser()
Supported Platforms: All.
Copyright © 2009–2016. All rights reserved.