Class: FinagleThrift::Annotation

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

Constant Summary collapse

TIMESTAMP =
1
VALUE =
2
HOST =
3
FIELDS =
{
  TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'},
  VALUE => {:type => ::Thrift::Types::STRING, :name => 'value'},
  HOST => {:type => ::Thrift::Types::STRUCT, :name => 'host', :class => FinagleThrift::Endpoint, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



53
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 53

def struct_fields; FIELDS; end

#validateObject



55
56
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 55

def validate
end