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)


542
543
544
# File 'lib/fluent/plugin/out_forward.rb', line 542

def available?
  true
end

#heartbeat(detect = true) ⇒ Object



550
551
552
# File 'lib/fluent/plugin/out_forward.rb', line 550

def heartbeat(detect=true)
  true
end

#tickObject



546
547
548
# File 'lib/fluent/plugin/out_forward.rb', line 546

def tick
  false
end