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

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

Instance Method Summary collapse

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

#runObject



143
144
145
# File 'lib/logstash/outputs/edge_http.rb', line 143

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