public class SlaveServerStatus extends Object
Constructor and Description |
---|
SlaveServerStatus() |
SlaveServerStatus(Node statusNode) |
SlaveServerStatus(String statusDescription) |
SlaveServerStatus(String statusDescription,
List<SlaveServerTransStatus> transStatusList,
List<SlaveServerJobStatus> jobStatusList) |
public static final String XML_TAG
public SlaveServerStatus()
public SlaveServerStatus(String statusDescription)
public SlaveServerStatus(String statusDescription, List<SlaveServerTransStatus> transStatusList, List<SlaveServerJobStatus> jobStatusList)
statusDescription
- transStatusList
- jobStatusList
- public SlaveServerStatus(Node statusNode) throws KettleException
KettleException
public String getXML() throws KettleException
KettleException
public static SlaveServerStatus fromXML(String xml) throws KettleException
KettleException
public String getStatusDescription()
public void setStatusDescription(String statusDescription)
statusDescription
- the statusDescription to setpublic List<SlaveServerTransStatus> getTransStatusList()
public void setTransStatusList(List<SlaveServerTransStatus> transStatusList)
transStatusList
- the transStatusList to setpublic String getErrorDescription()
public void setErrorDescription(String errorDescription)
errorDescription
- the errorDescription to setpublic SlaveServerTransStatus findTransStatus(String transName, String id)
public SlaveServerJobStatus findJobStatus(String jobName, String id)
public List<SlaveServerJobStatus> getJobStatusList()
public void setJobStatusList(List<SlaveServerJobStatus> jobStatusList)
jobStatusList
- the jobStatusList 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 © 2018 Hitachi Vantara. All rights reserved.