public class HealthStatusData
extends java.lang.Object
Constructor and Description |
---|
HealthStatusData()
Instantiates a new health status data.
|
Modifier and Type | Method and Description |
---|---|
float |
getCpuUsage()
Gets the cpu usage.
|
float |
getMemoryUsage()
Gets the memory usage.
|
int |
getThreadCount()
Gets the thread count.
|
float |
getTotalMemory()
Gets the total memory.
|
void |
setCpuUsage(float cpuUsage)
Sets the cpu usage.
|
void |
setMemoryUsage(float memoryUsage)
Sets the memory usage.
|
void |
setThreadCount(int threadCount)
Sets the thread count.
|
void |
setTotalMemory(float totalMemory)
Sets the total memory.
|
public HealthStatusData()
public float getMemoryUsage()
public void setMemoryUsage(float memoryUsage)
memoryUsage
- the new memory usagepublic float getCpuUsage()
public void setCpuUsage(float cpuUsage)
cpuUsage
- the new cpu usagepublic float getTotalMemory()
public void setTotalMemory(float totalMemory)
cpuUsage
- the new cpu usagepublic int getThreadCount()
public void setThreadCount(int threadCount)
cpuUsage
- the new cpu usage