Class: LogStash::Outputs::HarborBeacon::RetryTimerTask
- Inherits:
-
Object
- Object
- LogStash::Outputs::HarborBeacon::RetryTimerTask
- Defined in:
- lib/logstash/outputs/harbor_beacon.rb
Instance Method Summary collapse
-
#initialize(pending, event, attempt) ⇒ RetryTimerTask
constructor
A new instance of RetryTimerTask.
- #run ⇒ Object
Constructor Details
#initialize(pending, event, attempt) ⇒ RetryTimerTask
Returns a new instance of RetryTimerTask.
151 152 153 154 155 156 |
# File 'lib/logstash/outputs/harbor_beacon.rb', line 151 def initialize(pending, event, attempt) @pending = pending @event = event @attempt = attempt super() end |
Instance Method Details
#run ⇒ Object
158 159 160 |
# File 'lib/logstash/outputs/harbor_beacon.rb', line 158 def run @pending << [@event, @attempt] end |