class Retriable::HabitatSettings
- Retriable::HabitatSettings
- Reference
- Object
Defined in:
retriable/settings.crClass Method Summary
- .backoff : Bool
- .backoff=(value : Bool)
-
.backoff?
Used for checking missing settings on non-nilable types It's advised to use backoff in your apps to ensure the propper type is checked.
- .base_interval : Time::Span
- .base_interval=(value : Time::Span)
-
.base_interval?
Used for checking missing settings on non-nilable types It's advised to use base_interval in your apps to ensure the propper type is checked.
- .except : Exception.class | Array(Exception.class) | Nil
- .except=(value : Exception.class | Array(Exception.class) | Nil)
-
.except?
Used for checking missing settings on non-nilable types It's advised to use except in your apps to ensure the propper type is checked.
- .intervals : Array(Time::Span) | Nil
- .intervals=(value : Array(Time::Span) | Nil)
-
.intervals?
Used for checking missing settings on non-nilable types It's advised to use intervals in your apps to ensure the propper type is checked.
- .max_attempts : Int32 | Nil
- .max_attempts=(value : Int32 | Nil)
-
.max_attempts?
Used for checking missing settings on non-nilable types It's advised to use max_attempts in your apps to ensure the propper type is checked.
- .max_elapsed_time : Time::Span
- .max_elapsed_time=(value : Time::Span)
-
.max_elapsed_time?
Used for checking missing settings on non-nilable types It's advised to use max_elapsed_time in your apps to ensure the propper type is checked.
- .max_interval : Time::Span
- .max_interval=(value : Time::Span)
-
.max_interval?
Used for checking missing settings on non-nilable types It's advised to use max_interval in your apps to ensure the propper type is checked.
- .multiplier : Float64
- .multiplier=(value : Float64)
-
.multiplier?
Used for checking missing settings on non-nilable types It's advised to use multiplier in your apps to ensure the propper type is checked.
- .on : Exception.class | Array(Exception.class) | Nil
- .on=(value : Exception.class | Array(Exception.class) | Nil)
-
.on?
Used for checking missing settings on non-nilable types It's advised to use on in your apps to ensure the propper type is checked.
- .on_retry : Proc(Exception, Int32, Time::Span, Time::Span, Nil) | Nil
- .on_retry=(value : Proc(Exception, Int32, Time::Span, Time::Span, Nil) | Nil)
-
.on_retry?
Used for checking missing settings on non-nilable types It's advised to use on_retry in your apps to ensure the propper type is checked.
- .rand_factor : Float64
- .rand_factor=(value : Float64)
-
.rand_factor?
Used for checking missing settings on non-nilable types It's advised to use rand_factor in your apps to ensure the propper type is checked.
- .random : Random
- .random=(value : Random)
-
.random?
Used for checking missing settings on non-nilable types It's advised to use random in your apps to ensure the propper type is checked.
- .sleep_disabled : Bool
- .sleep_disabled=(value : Bool)
-
.sleep_disabled?
Used for checking missing settings on non-nilable types It's advised to use sleep_disabled in your apps to ensure the propper type is checked.
-
.to_h
Generates a hash using the provided values
Class Method Detail
Used for checking missing settings on non-nilable types It's advised to use backoff in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use base_interval in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use except in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use intervals in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use max_attempts in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use max_elapsed_time in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use max_interval in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use multiplier in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use on in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use on_retry in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use rand_factor in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use random in your apps to ensure the propper type is checked.
Used for checking missing settings on non-nilable types It's advised to use sleep_disabled in your apps to ensure the propper type is checked.