Class: Fluent::HashForwardOutput::NonHeartbeatNode
- Inherits:
-
Object
- Object
- Fluent::HashForwardOutput::NonHeartbeatNode
- Extended by:
- Forwardable
- Defined in:
- lib/fluent/plugin/out_hash_forward.rb
Overview
Delegate to Node instance disabling heartbeat
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
- #available? ⇒ Boolean
- #heartbeat(detect = true) ⇒ Object
-
#initialize(node) ⇒ NonHeartbeatNode
constructor
A new instance of NonHeartbeatNode.
- #tick ⇒ Object
Constructor Details
#initialize(node) ⇒ NonHeartbeatNode
Returns a new instance of NonHeartbeatNode.
105 106 107 |
# File 'lib/fluent/plugin/out_hash_forward.rb', line 105 def initialize(node) @node = node end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
101 102 103 |
# File 'lib/fluent/plugin/out_hash_forward.rb', line 101 def node @node end |
Instance Method Details
#available? ⇒ Boolean
109 110 111 |
# File 'lib/fluent/plugin/out_hash_forward.rb', line 109 def available? true end |
#heartbeat(detect = true) ⇒ Object
117 118 119 |
# File 'lib/fluent/plugin/out_hash_forward.rb', line 117 def heartbeat(detect=true) true end |
#tick ⇒ Object
113 114 115 |
# File 'lib/fluent/plugin/out_hash_forward.rb', line 113 def tick false end |