Class: FinagleThrift::Annotation
- Inherits:
-
Object
- Object
- FinagleThrift::Annotation
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/finagle-thrift/thrift/tracing_types.rb
Constant Summary collapse
- TIMESTAMP =
1
- VALUE =
2
- HOST =
3
- DURATION =
4
- 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}, DURATION => {:type => ::Thrift::Types::I32, :name => 'duration', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
55 |
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 55 def struct_fields; FIELDS; end |
#validate ⇒ Object
57 58 |
# File 'lib/finagle-thrift/thrift/tracing_types.rb', line 57 def validate end |