Class: LogStash::Outputs::Http::RetryTimerTask

Inherits:
Object
  • Object
show all
Defined in:
lib/logstash/outputs/http.rb

Instance Method Summary collapse

Constructor Details

#initialize(pending, event, attempt) ⇒ RetryTimerTask

Returns a new instance of RetryTimerTask.



120
121
122
123
124
125
# File 'lib/logstash/outputs/http.rb', line 120

def initialize(pending, event, attempt)
  @pending = pending
  @event = event
  @attempt = attempt
  super()
end

Instance Method Details

#runObject



127
128
129
# File 'lib/logstash/outputs/http.rb', line 127

def run
  @pending << [@event, @attempt]
end