public class ExtendedProcessCpuStats
extends java.lang.Object
Constructor and Description |
---|
ExtendedProcessCpuStats() |
ExtendedProcessCpuStats(short percent,
long sys,
long user,
long total) |
Modifier and Type | Method and Description |
---|---|
short |
percent()
Get the Process cpu usage.
|
org.elasticsearch.common.unit.TimeValue |
sys()
Get the Process cpu kernel time.
|
org.elasticsearch.common.unit.TimeValue |
total()
Get the Process cpu time (sum of User and Sys).
|
org.elasticsearch.common.unit.TimeValue |
user()
Get the Process cpu user time.
|
public ExtendedProcessCpuStats()
public ExtendedProcessCpuStats(short percent, long sys, long user, long total)
public short percent()
Supported Platforms: All.
public org.elasticsearch.common.unit.TimeValue sys()
Supported Platforms: All.
public org.elasticsearch.common.unit.TimeValue user()
Supported Platforms: All.
public org.elasticsearch.common.unit.TimeValue total()