Class: LogStash::Outputs::Bcdb::RetryTimerTask
- Inherits:
-
Object
- Object
- LogStash::Outputs::Bcdb::RetryTimerTask
- Defined in:
- lib/logstash/outputs/bcdb.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.
243 244 245 246 247 248 |
# File 'lib/logstash/outputs/bcdb.rb', line 243 def initialize(pending, event, attempt) @pending = pending @event = event @attempt = attempt super() end |
Instance Method Details
#run ⇒ Object
250 251 252 |
# File 'lib/logstash/outputs/bcdb.rb', line 250 def run @pending << [@event, @attempt] end |