Class THardwareInfo

    • Field Detail

      • num_gpu_hw

        public short num_gpu_hw
      • num_cpu_hw

        public short num_cpu_hw
      • num_gpu_allocated

        public short num_gpu_allocated
      • start_gpu

        public short start_gpu
      • host_name

        public String host_name
    • Constructor Detail

      • THardwareInfo

        public THardwareInfo()
      • THardwareInfo

        public THardwareInfo​(short num_gpu_hw,
                             short num_cpu_hw,
                             short num_gpu_allocated,
                             short start_gpu,
                             String host_name,
                             List<TGpuSpecification> gpu_info)
      • THardwareInfo

        public THardwareInfo​(THardwareInfo other)
        Performs a deep copy on other.
    • Method Detail

      • getNum_gpu_hw

        public short getNum_gpu_hw()
      • setNum_gpu_hw

        public THardwareInfo setNum_gpu_hw​(short num_gpu_hw)
      • unsetNum_gpu_hw

        public void unsetNum_gpu_hw()
      • isSetNum_gpu_hw

        public boolean isSetNum_gpu_hw()
        Returns true if field num_gpu_hw is set (has been assigned a value) and false otherwise
      • setNum_gpu_hwIsSet

        public void setNum_gpu_hwIsSet​(boolean value)
      • getNum_cpu_hw

        public short getNum_cpu_hw()
      • setNum_cpu_hw

        public THardwareInfo setNum_cpu_hw​(short num_cpu_hw)
      • unsetNum_cpu_hw

        public void unsetNum_cpu_hw()
      • isSetNum_cpu_hw

        public boolean isSetNum_cpu_hw()
        Returns true if field num_cpu_hw is set (has been assigned a value) and false otherwise
      • setNum_cpu_hwIsSet

        public void setNum_cpu_hwIsSet​(boolean value)
      • getNum_gpu_allocated

        public short getNum_gpu_allocated()
      • setNum_gpu_allocated

        public THardwareInfo setNum_gpu_allocated​(short num_gpu_allocated)
      • unsetNum_gpu_allocated

        public void unsetNum_gpu_allocated()
      • isSetNum_gpu_allocated

        public boolean isSetNum_gpu_allocated()
        Returns true if field num_gpu_allocated is set (has been assigned a value) and false otherwise
      • setNum_gpu_allocatedIsSet

        public void setNum_gpu_allocatedIsSet​(boolean value)
      • getStart_gpu

        public short getStart_gpu()
      • setStart_gpu

        public THardwareInfo setStart_gpu​(short start_gpu)
      • unsetStart_gpu

        public void unsetStart_gpu()
      • isSetStart_gpu

        public boolean isSetStart_gpu()
        Returns true if field start_gpu is set (has been assigned a value) and false otherwise
      • setStart_gpuIsSet

        public void setStart_gpuIsSet​(boolean value)
      • getHost_name

        public String getHost_name()
      • unsetHost_name

        public void unsetHost_name()
      • isSetHost_name

        public boolean isSetHost_name()
        Returns true if field host_name is set (has been assigned a value) and false otherwise
      • setHost_nameIsSet

        public void setHost_nameIsSet​(boolean value)
      • getGpu_infoSize

        public int getGpu_infoSize()
      • unsetGpu_info

        public void unsetGpu_info()
      • isSetGpu_info

        public boolean isSetGpu_info()
        Returns true if field gpu_info is set (has been assigned a value) and false otherwise
      • setGpu_infoIsSet

        public void setGpu_infoIsSet​(boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException