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, #conf, #failure, #host, #name, #port, #sockaddr, #weight

Instance Method Summary collapse

Methods inherited from Node

#disable!, #initialize, #resolved_host, #standby?, #to_msgpack

Constructor Details

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

Instance Method Details

#available?Boolean

Returns:

  • (Boolean)


562
563
564
# File 'lib/fluent/plugin/out_forward.rb', line 562

def available?
  true
end

#heartbeat(detect = true) ⇒ Object



570
571
572
# File 'lib/fluent/plugin/out_forward.rb', line 570

def heartbeat(detect=true)
  true
end

#tickObject



566
567
568
# File 'lib/fluent/plugin/out_forward.rb', line 566

def tick
  false
end