Class: LogStash::Outputs::Splunk::RetryTimerTask
- Inherits:
-
Object
- Object
- LogStash::Outputs::Splunk::RetryTimerTask
- Defined in:
- lib/logstash/outputs/splunk.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.
123 124 125 126 127 128 |
# File 'lib/logstash/outputs/splunk.rb', line 123 def initialize(pending, event, attempt) @pending = pending @event = event @attempt = attempt super() end |
Instance Method Details
#run ⇒ Object
130 131 132 |
# File 'lib/logstash/outputs/splunk.rb', line 130 def run @pending << [@event, @attempt] end |