Class: Hadoop::API::RuntimeInfo

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

Overview

Memory available via java.lang.Runtime

Constant Summary collapse

TOTALMEMORY =
1
FREEMEMORY =
2
MAXMEMORY =
3
FIELDS =
{
  TOTALMEMORY => {:type => ::Thrift::Types::I64, :name => 'totalMemory'},
  FREEMEMORY => {:type => ::Thrift::Types::I64, :name => 'freeMemory'},
  MAXMEMORY => {:type => ::Thrift::Types::I64, :name => 'maxMemory'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



124
# File 'lib/thrift/common_types.rb', line 124

def struct_fields; FIELDS; end

#validateObject



126
127
# File 'lib/thrift/common_types.rb', line 126

def validate
end