|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.system.MeasuredResource
org.rioproject.system.measurable.cpu.ProcessCpuUtilization
public class ProcessCpuUtilization
Measured process CPU utilization
| Constructor Summary | |
|---|---|
ProcessCpuUtilization(String identifier,
double totalPercentage,
long system,
long user,
ThresholdValues tVals)
Construct a ProcessCpuUtilization with parameters |
|
ProcessCpuUtilization(String identifier,
double totalPercentage,
ThresholdValues tVals)
Construct a ProcessCpuUtilization with parameters |
|
| Method Summary | |
|---|---|
double |
getSystem()
Get the cpu kernel usage for the process |
double |
getTotal()
Get the cpu utilization |
double |
getTotalPercentage()
Get the cpu utilization percentage |
double |
getUser()
Get the cpu user usage |
| Methods inherited from class org.rioproject.system.MeasuredResource |
|---|
equals, evaluate, getIdentifier, getThresholdValues, getValue, hashCode, thresholdCrossed, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessCpuUtilization(String identifier,
double totalPercentage,
ThresholdValues tVals)
identifier - Identifier for the ProcessCpuUtilizationtotalPercentage - The total system cpu utilization percentagetVals - ThresholdValues for the ProcessCpuUtilization
public ProcessCpuUtilization(String identifier,
double totalPercentage,
long system,
long user,
ThresholdValues tVals)
identifier - Identifier for the ProcessCpuUtilizationtotalPercentage - The total system cpu utilization percentagesystem - The cpu kernel usageuser - The cpu user usagetVals - ThresholdValues for the ProcessCpuUtilization| Method Detail |
|---|
public double getSystem()
public double getUser()
public double getTotal()
public double getTotalPercentage()
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||