Class: Hadoop::API::ThreadStackTrace

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

Overview

Info about a thread with its corresponding stack trace

Constant Summary collapse

THREADNAME =
1
THREADSTRINGREPRESENTATION =
2
ISDAEMON =
3
STACKTRACE =
4
FIELDS =
{
  THREADNAME => {:type => ::Thrift::Types::STRING, :name => 'threadName'},
  THREADSTRINGREPRESENTATION => {:type => ::Thrift::Types::STRING, :name => 'threadStringRepresentation'},
  ISDAEMON => {:type => ::Thrift::Types::BOOL, :name => 'isDaemon'},
  STACKTRACE => {:type => ::Thrift::Types::LIST, :name => 'stackTrace', :element => {:type => ::Thrift::Types::STRUCT, :class => Hadoop::API::StackTraceElement}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



105
106
# File 'lib/thrift/common_types.rb', line 105

def validate
end