Class: Fluent::Plugin::ForwardOutput::NoneHeartbeatNode

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

Overview

Override Node to disable heartbeat

Instance Attribute Summary

Attributes inherited from Node

#failure, #sockaddr, #state, #usock

Instance Method Summary collapse

Methods inherited from Node

#disable!, #establish_connection, #initialize, #resolved_host, #send_data, #send_data_actual, #send_heartbeat, #standby?, #validate_host_resolution!, #verify_connection

Constructor Details

This class inherits a constructor from Fluent::Plugin::ForwardOutput::Node

Instance Method Details

#available?Boolean

Returns:

  • (Boolean)


813
814
815
# File 'lib/fluent/plugin/out_forward.rb', line 813

def available?
  true
end

#heartbeat(detect = true) ⇒ Object



821
822
823
# File 'lib/fluent/plugin/out_forward.rb', line 821

def heartbeat(detect=true)
  true
end

#tickObject



817
818
819
# File 'lib/fluent/plugin/out_forward.rb', line 817

def tick
  false
end