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.
112 113 114 115 116 117 |
# File 'lib/logstash/outputs/splunk.rb', line 112 def initialize(pending, event, attempt) @pending = pending @event = event @attempt = attempt super() end |
Instance Method Details
#run ⇒ Object
119 120 121 |
# File 'lib/logstash/outputs/splunk.rb', line 119 def run @pending << [@event, @attempt] end |