Class: Fluent::Plugin::Buffer::Metadata
- Inherits:
-
Struct
- Object
- Struct
- Fluent::Plugin::Buffer::Metadata
- Defined in:
- lib/fluent/plugin/buffer.rb
Instance Attribute Summary collapse
-
#tag ⇒ Object
Returns the value of attribute tag.
-
#timekey ⇒ Object
Returns the value of attribute timekey.
-
#variables ⇒ Object
Returns the value of attribute variables.
Instance Method Summary collapse
Instance Attribute Details
#tag ⇒ Object
Returns the value of attribute tag
61 62 63 |
# File 'lib/fluent/plugin/buffer.rb', line 61 def tag @tag end |
#timekey ⇒ Object
Returns the value of attribute timekey
61 62 63 |
# File 'lib/fluent/plugin/buffer.rb', line 61 def timekey @timekey end |
#variables ⇒ Object
Returns the value of attribute variables
61 62 63 |
# File 'lib/fluent/plugin/buffer.rb', line 61 def variables @variables end |
Instance Method Details
#empty? ⇒ Boolean
62 63 64 |
# File 'lib/fluent/plugin/buffer.rb', line 62 def empty? timekey.nil? && tag.nil? && variables.nil? end |