Class: Fluent::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

#available, #failure, #host, #name, #port, #sockaddr, #standby, #state, #usock, #weight

Instance Method Summary collapse

Methods inherited from Node

#check_helo, #check_pong, #connect, #disable!, #establish_connection, #generate_ping, #generate_salt, #initialize, #on_read, #resolved_host, #send_data, #send_heartbeat, #set_socket_options, #standby?, #to_msgpack

Constructor Details

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

Instance Method Details

#available?Boolean

Returns:

  • (Boolean)


699
700
701
# File 'lib/fluent/plugin/out_forward.rb', line 699

def available?
  true
end

#heartbeat(detect = true) ⇒ Object



707
708
709
# File 'lib/fluent/plugin/out_forward.rb', line 707

def heartbeat(detect=true)
  true
end

#tickObject



703
704
705
# File 'lib/fluent/plugin/out_forward.rb', line 703

def tick
  false
end