Class: Fluent::Plugin::ForwardOutput::ACKWaitingSockInfo
- Inherits:
-
Struct
- Object
- Struct
- Fluent::Plugin::ForwardOutput::ACKWaitingSockInfo
- Defined in:
- lib/fluent/plugin/out_forward.rb
Instance Attribute Summary collapse
-
#chunk_id ⇒ Object
Returns the value of attribute chunk_id.
-
#chunk_id_base64 ⇒ Object
Returns the value of attribute chunk_id_base64.
-
#node ⇒ Object
Returns the value of attribute node.
-
#sock ⇒ Object
Returns the value of attribute sock.
-
#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
272 273 274 |
# File 'lib/fluent/plugin/out_forward.rb', line 272 def chunk_id @chunk_id end |
#chunk_id_base64 ⇒ Object
Returns the value of attribute chunk_id_base64
272 273 274 |
# File 'lib/fluent/plugin/out_forward.rb', line 272 def chunk_id_base64 @chunk_id_base64 end |
#node ⇒ Object
Returns the value of attribute node
272 273 274 |
# File 'lib/fluent/plugin/out_forward.rb', line 272 def node @node end |
#sock ⇒ Object
Returns the value of attribute sock
272 273 274 |
# File 'lib/fluent/plugin/out_forward.rb', line 272 def sock @sock end |
#time ⇒ Object
Returns the value of attribute time
272 273 274 |
# File 'lib/fluent/plugin/out_forward.rb', line 272 def time @time end |
#timeout ⇒ Object
Returns the value of attribute timeout
272 273 274 |
# File 'lib/fluent/plugin/out_forward.rb', line 272 def timeout @timeout end |
Instance Method Details
#expired?(now) ⇒ Boolean
273 274 275 |
# File 'lib/fluent/plugin/out_forward.rb', line 273 def expired?(now) time + timeout < now end |