Package org.pentaho.di.www.jaxrs
Class ServerStatus
java.lang.Object
org.pentaho.di.www.jaxrs.ServerStatus
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlongdoubledoubledoubleintlongvoidsetCpuCores(int cpuCores) voidsetCpuProcessTime(long cpuProcessTime) voidsetErrorDescription(String errorDescription) voidsetLoadAvg(double loadAvg) voidsetMemoryFree(long memoryFree) voidsetMemoryTotal(long memoryTotal) voidsetOsArchitecture(String osArch) voidvoidsetOsVersion(String osVersion) voidsetStatusDescription(String statusDescription) voidsetThreadCount(int threadCount) voidsetUptime(long uptime)
-
Constructor Details
-
ServerStatus
public ServerStatus() -
ServerStatus
-
ServerStatus
- Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Details
-
getStatusDescription
- Returns:
- the statusDescription
-
setStatusDescription
- Parameters:
statusDescription- the statusDescription to set
-
getErrorDescription
- Returns:
- the errorDescription
-
setErrorDescription
- Parameters:
errorDescription- the errorDescription to set
-
getMemoryFree
public double getMemoryFree()- Returns:
- the memoryFree
-
setMemoryFree
public void setMemoryFree(long memoryFree) - Parameters:
memoryFree- the memoryFree to set
-
getMemoryTotal
public double getMemoryTotal()- Returns:
- the memoryTotal
-
setMemoryTotal
public void setMemoryTotal(long memoryTotal) - Parameters:
memoryTotal- the memoryTotal to set
-
getCpuCores
public int getCpuCores()- Returns:
- the cpuCores
-
setCpuCores
public void setCpuCores(int cpuCores) - Parameters:
cpuCores- the cpuCores to set
-
getCpuProcessTime
public long getCpuProcessTime()- Returns:
- the cpuProcessTime
-
setCpuProcessTime
public void setCpuProcessTime(long cpuProcessTime) - Parameters:
cpuProcessTime- the cpuProcessTime to set
-
setUptime
public void setUptime(long uptime) -
getUptime
public long getUptime() -
setThreadCount
public void setThreadCount(int threadCount) -
getThreadCount
public int getThreadCount() -
setLoadAvg
public void setLoadAvg(double loadAvg) -
getLoadAvg
public double getLoadAvg() -
setOsName
-
getOsName
-
setOsVersion
-
getOsVersion
-
setOsArchitecture
-
getOsArchitecture
-