Class: LogStash::Outputs::Http::RetryTimerTask
- Inherits:
-
Object
- Object
- LogStash::Outputs::Http::RetryTimerTask
- Defined in:
- lib/logstash/outputs/edge_http.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.
136 137 138 139 140 141 |
# File 'lib/logstash/outputs/edge_http.rb', line 136 def initialize(pending, event, attempt) @pending = pending @event = event @attempt = attempt super() end |
Instance Method Details
#run ⇒ Object
143 144 145 |
# File 'lib/logstash/outputs/edge_http.rb', line 143 def run @pending << [@event, @attempt] end |