public class ServerStatus extends Object
Constructor and Description |
---|
ServerStatus() |
ServerStatus(Node statusNode) |
ServerStatus(String statusDescription) |
Modifier and Type | Method and Description |
---|---|
int |
getCpuCores() |
long |
getCpuProcessTime() |
String |
getErrorDescription() |
double |
getLoadAvg() |
double |
getMemoryFree() |
double |
getMemoryTotal() |
String |
getOsArchitecture() |
String |
getOsName() |
String |
getOsVersion() |
String |
getStatusDescription() |
int |
getThreadCount() |
long |
getUptime() |
void |
setCpuCores(int cpuCores) |
void |
setCpuProcessTime(long cpuProcessTime) |
void |
setErrorDescription(String errorDescription) |
void |
setLoadAvg(double loadAvg) |
void |
setMemoryFree(long memoryFree) |
void |
setMemoryTotal(long memoryTotal) |
void |
setOsArchitecture(String osArch) |
void |
setOsName(String osName) |
void |
setOsVersion(String osVersion) |
void |
setStatusDescription(String statusDescription) |
void |
setThreadCount(int threadCount) |
void |
setUptime(long uptime) |
public ServerStatus()
public ServerStatus(String statusDescription)
public ServerStatus(Node statusNode) throws KettleException
KettleException
public String getStatusDescription()
public void setStatusDescription(String statusDescription)
statusDescription
- the statusDescription to setpublic String getErrorDescription()
public void setErrorDescription(String errorDescription)
errorDescription
- the errorDescription to setpublic double getMemoryFree()
public void setMemoryFree(long memoryFree)
memoryFree
- the memoryFree to setpublic double getMemoryTotal()
public void setMemoryTotal(long memoryTotal)
memoryTotal
- the memoryTotal to setpublic int getCpuCores()
public void setCpuCores(int cpuCores)
cpuCores
- the cpuCores to setpublic long getCpuProcessTime()
public void setCpuProcessTime(long cpuProcessTime)
cpuProcessTime
- the cpuProcessTime to setpublic void setUptime(long uptime)
public long getUptime()
public void setThreadCount(int threadCount)
public int getThreadCount()
public void setLoadAvg(double loadAvg)
public double getLoadAvg()
public void setOsName(String osName)
public String getOsName()
public void setOsVersion(String osVersion)
public String getOsVersion()
public void setOsArchitecture(String osArch)
public String getOsArchitecture()
Copyright © 2020 Hitachi Vantara. All rights reserved.