public class CpuDataImpl extends com.ibm.java.diagnostics.healthcenter.api.impl.HealthCenterDataImpl implements CpuData
PROCESSUSEDATA, SYSTEMUSEDATA
Constructor and Description |
---|
CpuDataImpl(Data data) |
Modifier and Type | Method and Description |
---|---|
double |
getMaxProcessUse()
Gets the maximum percentage value for process CPU use.
|
double |
getMaxSystemUse()
Gets the maximum percentage value for system CPU use.
|
double |
getMeanProcessUse()
Gets the mean percentage value for process CPU use.
|
double |
getMeanSystemUse()
Gets the mean percentage value for system CPU use.
|
double |
getMinProcessUse()
Gets the minimum percentage value for process CPU use.
|
double |
getMinSystemUse()
Gets the minimum percentage value for system CPU use.
|
CpuInfo[] |
getProcessUse()
Gets the data associated with the process CPU use.
|
CpuInfo[] |
getSystemUse()
Gets the data associated with the system CPU use.
|
void |
startNotifying()
Starts a thread which checks for changes in the data every 2000 milliseconds and sends notifications
if an update has occurred.
|
void |
startNotifying(long delay)
Starts a thread which checks for changes in the data and sends notifications
if an update has occurred.
|
getAllRecommendations, getCriticalRecommendations, getHealthyRecommendations, getInformationalRecommendations, getMaxData, getMeanData, getMinData, getWarningRecommendations
addNotificationListener, getNotificationInfo, removeNotificationListener, removeNotificationListener, sendNotification
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllRecommendations, getCriticalRecommendations, getHealthyRecommendations, getInformationalRecommendations, getWarningRecommendations
public CpuInfo[] getProcessUse()
CpuData
getProcessUse
in interface CpuData
public CpuInfo[] getSystemUse()
CpuData
getSystemUse
in interface CpuData
public void startNotifying()
HealthCenterData
NotificationListener
needs to be added to the object the thread is being started from.startNotifying
in interface HealthCenterData
public void startNotifying(long delay)
HealthCenterData
NotificationListener
needs to be added to the object the thread is being started from.startNotifying
in interface HealthCenterData
delay
- The number of milliseconds between each update. The default is
2000 milliseconds and anything below this will not be accepted.public double getMaxSystemUse()
CpuData
getMaxSystemUse
in interface CpuData
public double getMeanSystemUse()
CpuData
getMeanSystemUse
in interface CpuData
public double getMinSystemUse()
CpuData
getMinSystemUse
in interface CpuData
public double getMaxProcessUse()
CpuData
getMaxProcessUse
in interface CpuData
public double getMeanProcessUse()
CpuData
getMeanProcessUse
in interface CpuData
public double getMinProcessUse()
CpuData
getMinProcessUse
in interface CpuData