Class: Fluent::Plugin::ForwardOutput::AckHandler::ACKWaitingSockInfo

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



82
83
84
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 82

def chunk_id
  @chunk_id
end

#chunk_id_base64Object

Returns the value of attribute chunk_id_base64

Returns:

  • (Object)

    the current value of chunk_id_base64



82
83
84
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 82

def chunk_id_base64
  @chunk_id_base64
end

#expired_timeObject

Returns the value of attribute expired_time

Returns:

  • (Object)

    the current value of expired_time



82
83
84
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 82

def expired_time
  @expired_time
end

#nodeObject

Returns the value of attribute node

Returns:

  • (Object)

    the current value of node



82
83
84
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 82

def node
  @node
end

#sockObject

Returns the value of attribute sock

Returns:

  • (Object)

    the current value of sock



82
83
84
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 82

def sock
  @sock
end

Instance Method Details

#expired?(now) ⇒ Boolean

Returns:

  • (Boolean)


83
84
85
# File 'lib/fluent/plugin/out_forward/ack_handler.rb', line 83

def expired?(now)
  expired_time < now
end