Class: ComputationalResourceSchedulingModel

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/scheduling_model_types.rb

Overview

ComputationalResourceSchedulingModel:

Constant Summary collapse

RESOURCEHOSTID =
1
TOTALCPUCOUNT =
2
NODECOUNT =
3
NUMBEROFTHREADS =
4
QUEUENAME =
5
WALLTIMELIMIT =
6
TOTALPHYSICALMEMORY =
7
CHESSISNUMBER =
8
STATICWORKINGDIR =
9
OVERRIDELOGINUSERNAME =
10
OVERRIDESCRATCHLOCATION =
11
OVERRIDEALLOCATIONPROJECTNUMBER =
12
FIELDS =
{
  RESOURCEHOSTID => {:type => ::Thrift::Types::STRING, :name => 'resourceHostId', :optional => true},
  TOTALCPUCOUNT => {:type => ::Thrift::Types::I32, :name => 'totalCPUCount', :optional => true},
  NODECOUNT => {:type => ::Thrift::Types::I32, :name => 'nodeCount', :optional => true},
  NUMBEROFTHREADS => {:type => ::Thrift::Types::I32, :name => 'numberOfThreads', :optional => true},
  QUEUENAME => {:type => ::Thrift::Types::STRING, :name => 'queueName', :optional => true},
  WALLTIMELIMIT => {:type => ::Thrift::Types::I32, :name => 'wallTimeLimit', :optional => true},
  TOTALPHYSICALMEMORY => {:type => ::Thrift::Types::I32, :name => 'totalPhysicalMemory', :optional => true},
  CHESSISNUMBER => {:type => ::Thrift::Types::STRING, :name => 'chessisNumber', :optional => true},
  STATICWORKINGDIR => {:type => ::Thrift::Types::STRING, :name => 'staticWorkingDir', :optional => true},
  OVERRIDELOGINUSERNAME => {:type => ::Thrift::Types::STRING, :name => 'overrideLoginUserName', :optional => true},
  OVERRIDESCRATCHLOCATION => {:type => ::Thrift::Types::STRING, :name => 'overrideScratchLocation', :optional => true},
  OVERRIDEALLOCATIONPROJECTNUMBER => {:type => ::Thrift::Types::STRING, :name => 'overrideAllocationProjectNumber', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



42
# File 'lib/scheduling_model_types.rb', line 42

def struct_fields; FIELDS; end

#validateObject



44
45
# File 'lib/scheduling_model_types.rb', line 44

def validate
end