Module: Operaton::Bpm::Client::Backoff::ErrorAwareBackoffStrategy

Includes:
BackoffStrategy
Included in:
ExponentialErrorBackoffStrategy
Defined in:
lib/operaton/bpm/client/backoff/error_aware_backoff_strategy.rb

Overview

Mirrors org.operaton.bpm.client.backoff.ErrorAwareBackoffStrategy. Implementations receive the exception (or nil) of the last fetch-and-lock attempt in addition to the fetched tasks.

Instance Method Summary collapse

Methods included from BackoffStrategy

#calculate_backoff_time

Instance Method Details

#reconfigure(external_tasks, exception = nil) ⇒ Object

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/operaton/bpm/client/backoff/error_aware_backoff_strategy.rb', line 15

def reconfigure(external_tasks, exception = nil)
  raise NotImplementedError, "#{self.class} must implement #reconfigure"
end