Class SlaveServerStatus

java.lang.Object
org.pentaho.di.www.SlaveServerStatus

public class SlaveServerStatus extends Object
  • Field Details

  • Constructor Details

    • SlaveServerStatus

      public SlaveServerStatus()
    • SlaveServerStatus

      public SlaveServerStatus(String statusDescription)
    • SlaveServerStatus

      public SlaveServerStatus(String statusDescription, List<SlaveServerTransStatus> transStatusList, List<SlaveServerJobStatus> jobStatusList)
      Parameters:
      statusDescription -
      transStatusList -
      jobStatusList -
    • SlaveServerStatus

      public SlaveServerStatus(Node statusNode) throws org.pentaho.di.core.exception.KettleException
      Throws:
      org.pentaho.di.core.exception.KettleException
  • Method Details

    • getXML

      public String getXML() throws org.pentaho.di.core.exception.KettleException
      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

      public String getStatusDescription()
      Returns:
      the statusDescription
    • setStatusDescription

      public void setStatusDescription(String statusDescription)
      Parameters:
      statusDescription - the statusDescription to set
    • getTransStatusList

      public List<SlaveServerTransStatus> getTransStatusList()
      Returns:
      the transStatusList
    • setTransStatusList

      public void setTransStatusList(List<SlaveServerTransStatus> transStatusList)
      Parameters:
      transStatusList - the transStatusList to set
    • getErrorDescription

      public String getErrorDescription()
      Returns:
      the errorDescription
    • setErrorDescription

      public void setErrorDescription(String errorDescription)
      Parameters:
      errorDescription - the errorDescription to set
    • findTransStatus

      public SlaveServerTransStatus findTransStatus(String transName, String id)
    • findJobStatus

      public SlaveServerJobStatus findJobStatus(String jobName, String id)
    • getJobStatusList

      public List<SlaveServerJobStatus> getJobStatusList()
      Returns:
      the jobStatusList
    • setJobStatusList

      public void setJobStatusList(List<SlaveServerJobStatus> jobStatusList)
      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

      public void setOsName(String osName)
    • getOsName

      public String getOsName()
    • setOsVersion

      public void setOsVersion(String osVersion)
    • getOsVersion

      public String getOsVersion()
    • setOsArchitecture

      public void setOsArchitecture(String osArch)
    • getOsArchitecture

      public String getOsArchitecture()