Class: Fluent::Plugin::ForwardOutput::AckHandler::Ack

Inherits:
Struct
  • Object
show all
Defined in:
lib/fluent/plugin/out_forward/ack_handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#chunk_idObject

Returns the value of attribute chunk_id

Returns:

  • (Object)

    the current value of chunk_id



88
89
90
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 88

def chunk_id
  @chunk_id
end

#handlerObject

Returns the value of attribute handler

Returns:

  • (Object)

    the current value of handler



88
89
90
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 88

def handler
  @handler
end

#nodeObject

Returns the value of attribute node

Returns:

  • (Object)

    the current value of node



88
89
90
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 88

def node
  @node
end

Instance Method Details

#enqueue(sock) ⇒ Object



89
90
91
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 89

def enqueue(sock)
  handler.enqueue(node, sock, chunk_id)
end