Package com.avoka.fc.core.service.health
Class ServerHealthStatus
- java.lang.Object
-
- com.avoka.fc.core.service.health.ServerHealthStatus
-
- All Implemented Interfaces:
Serializable
public class ServerHealthStatus extends Object implements Serializable
Provides a health status object for the node.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerHealthStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCpuPercentage()
int
getFwsAvgRequestLoadTime()
int
getFwsAvgRequestRenderTime()
int
getFwsAvgRequestTotalTime()
int
getFwsNoCapacityEvents()
int
getFwsQueueLength()
int
getFwsThreadCount()
long
getMemoryTotal()
long
getMemoryUsed()
Gets the memory used.int
getThreadCount()
int
getThreadMax()
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)
-
-
-
Method Detail
-
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
-
-