Package org.pentaho.di.www
Class SlaveServerStatus
java.lang.Object
org.pentaho.di.www.SlaveServerStatus
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSlaveServerStatus
(String statusDescription) SlaveServerStatus
(String statusDescription, List<SlaveServerTransStatus> transStatusList, List<SlaveServerJobStatus> jobStatusList) SlaveServerStatus
(Node statusNode) -
Method Summary
Modifier and TypeMethodDescriptionfindJobStatus
(String jobName, String id) findTransStatus
(String transName, String id) static SlaveServerStatus
int
long
double
double
double
int
long
getXML()
void
setCpuCores
(int cpuCores) void
setCpuProcessTime
(long cpuProcessTime) void
setErrorDescription
(String errorDescription) void
setJobStatusList
(List<SlaveServerJobStatus> jobStatusList) void
setLoadAvg
(double loadAvg) void
setMemoryFree
(long memoryFree) void
setMemoryTotal
(long memoryTotal) void
setOsArchitecture
(String osArch) void
void
setOsVersion
(String osVersion) void
setStatusDescription
(String statusDescription) void
setThreadCount
(int threadCount) void
setTransStatusList
(List<SlaveServerTransStatus> transStatusList) void
setUptime
(long uptime)
-
Field Details
-
XML_TAG
- See Also:
-
-
Constructor Details
-
SlaveServerStatus
public SlaveServerStatus() -
SlaveServerStatus
-
SlaveServerStatus
public SlaveServerStatus(String statusDescription, List<SlaveServerTransStatus> transStatusList, List<SlaveServerJobStatus> jobStatusList) - Parameters:
statusDescription
-transStatusList
-jobStatusList
-
-
SlaveServerStatus
- Throws:
org.pentaho.di.core.exception.KettleException
-
-
Method Details
-
getXML
- Throws:
org.pentaho.di.core.exception.KettleException
-
fromXML
public static SlaveServerStatus fromXML(String xml) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
getStatusDescription
- Returns:
- the statusDescription
-
setStatusDescription
- Parameters:
statusDescription
- the statusDescription to set
-
getTransStatusList
- Returns:
- the transStatusList
-
setTransStatusList
- Parameters:
transStatusList
- the transStatusList to set
-
getErrorDescription
- Returns:
- the errorDescription
-
setErrorDescription
- Parameters:
errorDescription
- the errorDescription to set
-
findTransStatus
-
findJobStatus
-
getJobStatusList
- Returns:
- the jobStatusList
-
setJobStatusList
- Parameters:
jobStatusList
- the jobStatusList 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
-