Class: Fluent::Plugin::Output::DequeuedChunkInfo
- Inherits:
-
Struct
- Object
- Struct
- Fluent::Plugin::Output::DequeuedChunkInfo
- Defined in:
- lib/fluent/plugin/output.rb
Instance Attribute Summary collapse
-
#chunk_id ⇒ Object
Returns the value of attribute chunk_id.
-
#time ⇒ Object
Returns the value of attribute time.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
Instance Attribute Details
#chunk_id ⇒ Object
Returns the value of attribute chunk_id
160 161 162 |
# File 'lib/fluent/plugin/output.rb', line 160 def chunk_id @chunk_id end |
#time ⇒ Object
Returns the value of attribute time
160 161 162 |
# File 'lib/fluent/plugin/output.rb', line 160 def time @time end |
#timeout ⇒ Object
Returns the value of attribute timeout
160 161 162 |
# File 'lib/fluent/plugin/output.rb', line 160 def timeout @timeout end |
Instance Method Details
#expired? ⇒ Boolean
161 162 163 |
# File 'lib/fluent/plugin/output.rb', line 161 def expired? time + timeout < Time.now end |