Class: ElasticAPM::Span::Context::Message Private
- Inherits:
-
Object
- Object
- ElasticAPM::Span::Context::Message
- Defined in:
- lib/elastic_apm/span/context/message.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #age_ms ⇒ Object readonly private
- #queue_name ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(queue_name: nil, age_ms: nil) ⇒ Message
constructor
private
A new instance of Message.
Constructor Details
#initialize(queue_name: nil, age_ms: nil) ⇒ Message
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Message.
25 26 27 28 29 30 31 |
# File 'lib/elastic_apm/span/context/message.rb', line 25 def initialize( queue_name: nil, age_ms: nil ) @queue_name = queue_name @age_ms = age_ms end |
Instance Attribute Details
#age_ms ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
33 34 35 |
# File 'lib/elastic_apm/span/context/message.rb', line 33 def age_ms @age_ms end |
#queue_name ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
33 34 35 |
# File 'lib/elastic_apm/span/context/message.rb', line 33 def queue_name @queue_name end |