Class: Concord::Thrift::PhysicalComputationMetadata

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

Constant Summary collapse

TASKID =
1
SLAVEID =
2
CPUS =
3
MEM =
4
DISK =
5
TASKHELPER =
6
NEEDSRECONCILIATION =
7
KILLED =
8
FIELDS =
{
  TASKID => {:type => ::Thrift::Types::STRING, :name => 'taskId'},
  SLAVEID => {:type => ::Thrift::Types::STRING, :name => 'slaveId'},
  CPUS => {:type => ::Thrift::Types::DOUBLE, :name => 'cpus'},
  MEM => {:type => ::Thrift::Types::I32, :name => 'mem'},
  DISK => {:type => ::Thrift::Types::I32, :name => 'disk'},
  TASKHELPER => {:type => ::Thrift::Types::STRUCT, :name => 'taskHelper', :class => ::Concord::Thrift::ExecutorTaskInfoHelper},
  NEEDSRECONCILIATION => {:type => ::Thrift::Types::BOOL, :name => 'needsReconciliation'},
  KILLED => {:type => ::Thrift::Types::BOOL, :name => 'killed'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



195
# File 'lib/gen-rb/bolt_types.rb', line 195

def struct_fields; FIELDS; end

#validateObject



197
198
# File 'lib/gen-rb/bolt_types.rb', line 197

def validate
end