class Retriable::Settings
- Retriable::Settings
- Reference
- Object
Defined in:
retriable/settings.crInstance Method Summary
- #backoff=(backoff : Bool)
- #backoff? : Bool
- #base_interval : Time::Span
- #base_interval=(base_interval : Time::Span)
- #except : Exception.class | Array(Exception.class) | Nil
- #except=(except : Exception.class | Array(Exception.class) | Nil)
- #intervals : Array(Time::Span) | Nil
- #intervals=(intervals : Array(Time::Span) | Nil)
- #max_attempts : Int32 | Nil
- #max_attempts=(max_attempts : Int32 | Nil)
- #max_elapsed_time : Time::Span
- #max_elapsed_time=(max_elapsed_time : Time::Span)
- #max_interval : Time::Span
- #max_interval=(max_interval : Time::Span)
- #multiplier : Float64
- #multiplier=(multiplier : Float64)
- #on : Exception.class | Array(Exception.class) | Nil
- #on=(on : Exception.class | Array(Exception.class) | Nil)
- #on_retry : Proc(Exception, Int32, Time::Span, Time::Span, Nil) | Nil
- #on_retry(&block : Exception, Int32, Time::Span, Time::Span -> _)
- #on_retry=(on_retry : Proc(Exception, Int32, Time::Span, Time::Span, Nil) | Nil)
- #rand_factor : Float64
- #rand_factor=(rand_factor : Float64)
- #random : Random
- #random=(random : Random)
- #sleep_disabled=(sleep_disabled : Bool)
- #sleep_disabled? : Bool