|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData
org.ow2.jasmine.monitoring.mbeancmd.sampling.CpuSunData
public class CpuSunData
Data retrieved from the Sun Java VM.
Field Summary | |
---|---|
private long |
availableProcessors
Number of available processors. |
private double |
currentCpuLoad
Current CPU load. |
private long |
currentCpuTime
Current CPU time. |
private static java.lang.String |
header
Default output header. |
private long |
processCpuTime
Total time used by this process. |
Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData |
---|
decimalFormat |
Constructor Summary | |
---|---|
CpuSunData()
|
Method Summary | |
---|---|
void |
compute(SampleData needs_cast)
Implementation of inherited abstract method. |
double |
getAvailableProcessors()
|
double |
getCurrentCpuLoad()
|
double |
getCurrentCpuTime()
|
protected java.lang.String |
getInnerPrintData()
Implementation of inherited abstract method. |
protected java.lang.String |
getInnerPrintHeader()
Implementation of inherited abstract method. |
double |
getProcessCpuTime()
|
void |
setAvailableProcessors(long availableProcessors)
|
void |
setCurrentCpuLoad(long currentCpuLoad)
|
void |
setCurrentCpuTime(long currentCpuTime)
|
void |
setProcessCpuTime(long processCpuTime)
|
Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.sampling.SampleData |
---|
getAttribute, getAttributeAsDouble, getAttributeAsInt, getAttributeAsLong, getDomain, getName, getPrintHeader, getSampleTime, getSeparator, getServer, isValid, printData, setAttribute, setObjectName, setSampleTime, setSeparator, setServerInfo, setValid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private long processCpuTime
private long availableProcessors
private long currentCpuTime
private double currentCpuLoad
private static final java.lang.String header
Constructor Detail |
---|
public CpuSunData()
Method Detail |
---|
public void compute(SampleData needs_cast)
compute
in class SampleData
needs_cast
- Previous measurement.SampleData.compute(SampleData)
protected java.lang.String getInnerPrintHeader()
getInnerPrintHeader
in class SampleData
SampleData.getInnerPrintHeader()
protected java.lang.String getInnerPrintData()
getInnerPrintData
in class SampleData
SampleData.getInnerPrintData()
public double getProcessCpuTime()
public void setProcessCpuTime(long processCpuTime)
processCpuTime
- Total time used by this process.public double getAvailableProcessors()
public void setAvailableProcessors(long availableProcessors)
availableProcessors
- Number of available processors.public double getCurrentCpuTime()
public void setCurrentCpuTime(long currentCpuTime)
currentCpuTime
- Current CPU time.public double getCurrentCpuLoad()
public void setCurrentCpuLoad(long currentCpuLoad)
currentCpuLoad
- Current CPU load.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |