org.rhq.core.system
Class CpuInformation
java.lang.Object
org.rhq.core.system.CpuInformation
public class CpuInformation
- extends Object
Provides native information on a specific CPU.
- Author:
- John Mazzitelli, Ian Springer
|
Constructor Summary |
CpuInformation(int index,
org.hyperic.sigar.SigarProxy sigar)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CpuInformation
public CpuInformation(int index,
org.hyperic.sigar.SigarProxy sigar)
getCpuIndex
public int getCpuIndex()
getCpu
public org.hyperic.sigar.Cpu getCpu()
getCpuInfo
public org.hyperic.sigar.CpuInfo getCpuInfo()
getCpuPercentage
public org.hyperic.sigar.CpuPerc getCpuPercentage()
isEnabled
public boolean isEnabled()
refresh
public void refresh()
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.