Package com.avoka.fc.core.service.health
Class ServerHealthStatus
java.lang.Object
com.avoka.fc.core.service.health.ServerHealthStatus
- All Implemented Interfaces:
Serializable
Provides a health status object for the node.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
int
int
long
long
Gets the memory used.int
int
void
setCpuPercentage
(int cpuPercentage) void
setFwsAvgRequestLoadTime
(int fwsAvgRequestLoadTime) void
setFwsAvgRequestRenderTime
(int fwsAvgRequestRenderTime) void
setFwsAvgRequestTotalTime
(int fwsAvgRequestTotalTime) void
setFwsNoCapacityEvents
(int fwsNoCapacityEvents) void
setFwsQueueLength
(int fwsQueueLength) void
setFwsThreadCount
(int fwsThreadCount) void
setMemoryTotal
(long memoryTotal) void
setMemoryUsed
(long memoryUsed) Sets the memory used.void
setThreadCount
(int threadCount) void
setThreadMax
(int threadMax)
-
Constructor Details
-
ServerHealthStatus
public ServerHealthStatus()
-
-
Method Details
-
getCpuPercentage
public int getCpuPercentage()- Returns:
- the cpuPercentage
-
setCpuPercentage
public void setCpuPercentage(int cpuPercentage) - Parameters:
cpuPercentage
- the cpuPercentage to set
-
getFwsAvgRequestRenderTime
public int getFwsAvgRequestRenderTime()- Returns:
- the fwsAvgRequestRenderTime
-
setFwsAvgRequestRenderTime
public void setFwsAvgRequestRenderTime(int fwsAvgRequestRenderTime) - Parameters:
fwsAvgRequestRenderTime
- the fwsAvgRequestRenderTime to set
-
getFwsAvgRequestLoadTime
public int getFwsAvgRequestLoadTime()- Returns:
- the fwsAvgRequestLoadTime
-
setFwsAvgRequestLoadTime
public void setFwsAvgRequestLoadTime(int fwsAvgRequestLoadTime) - Parameters:
fwsAvgRequestLoadTime
- the fwsAvgRequestLoadTime to set
-
getFwsAvgRequestTotalTime
public int getFwsAvgRequestTotalTime()- Returns:
- the fwsAvgRequestTotalTime
-
setFwsAvgRequestTotalTime
public void setFwsAvgRequestTotalTime(int fwsAvgRequestTotalTime) - Parameters:
fwsAvgRequestTotalTime
- the fwsAvgRequestTotalTime to set
-
getFwsQueueLength
public int getFwsQueueLength()- Returns:
- the formWorkerQueueLength
-
setFwsQueueLength
public void setFwsQueueLength(int fwsQueueLength) - Parameters:
fwsQueueLength
- the fwsQueueLength to set
-
getFwsThreadCount
public int getFwsThreadCount()- Returns:
- the formWorkerThreadCount
-
setFwsThreadCount
public void setFwsThreadCount(int fwsThreadCount) - Parameters:
fwsThreadCount
- the formWorkerThreadCount to set
-
getFwsNoCapacityEvents
public int getFwsNoCapacityEvents()- Returns:
- the fwsNoCapacityEvents
-
setFwsNoCapacityEvents
public void setFwsNoCapacityEvents(int fwsNoCapacityEvents) - Parameters:
fwsNoCapacityEvents
- the fwsNoCapacityEvents to set
-
getMemoryTotal
public long getMemoryTotal()- Returns:
- the memoryTotal
-
setMemoryTotal
public void setMemoryTotal(long memoryTotal) - Parameters:
memoryTotal
- the memoryTotal to set
-
getThreadCount
public int getThreadCount()- Returns:
- the threadCount
-
setThreadCount
public void setThreadCount(int threadCount) - Parameters:
threadCount
- the threadCount to set
-
getThreadMax
public int getThreadMax()- Returns:
- the threadMax
-
setThreadMax
public void setThreadMax(int threadMax) - Parameters:
threadMax
- the threadMax to set
-
getMemoryUsed
public long getMemoryUsed()Gets the memory used.- Returns:
- the memory used
-
setMemoryUsed
public void setMemoryUsed(long memoryUsed) Sets the memory used.- Parameters:
memoryUsed
- the new memory used
-