class Retriable::HabitatSettings

Defined in:

retriable/settings.cr

Class Method Summary

Class Method Detail

def self.backoff : Bool #

def self.backoff=(value : Bool) #

def self.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.


def self.base_interval : Time::Span #

def self.base_interval=(value : Time::Span) #

def self.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.


def self.except : Exception.class | Array(Exception.class) | Nil #

def self.except=(value : Exception.class | Array(Exception.class) | Nil) #

def self.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.


def self.intervals : Array(Time::Span) | Nil #

def self.intervals=(value : Array(Time::Span) | Nil) #

def self.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.


def self.max_attempts : Int32 | Nil #

def self.max_attempts=(value : Int32 | Nil) #

def self.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.


def self.max_elapsed_time : Time::Span #

def self.max_elapsed_time=(value : Time::Span) #

def self.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.


def self.max_interval : Time::Span #

def self.max_interval=(value : Time::Span) #

def self.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.


def self.multiplier : Float64 #

def self.multiplier=(value : Float64) #

def self.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.


def self.on : Exception.class | Array(Exception.class) | Nil #

def self.on=(value : Exception.class | Array(Exception.class) | Nil) #

def self.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.


def self.on_retry : Proc(Exception, Int32, Time::Span, Time::Span, Nil) | Nil #

def self.on_retry=(value : Proc(Exception, Int32, Time::Span, Time::Span, Nil) | Nil) #

def self.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.


def self.rand_factor : Float64 #

def self.rand_factor=(value : Float64) #

def self.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.


def self.random : Random #

def self.random=(value : Random) #

def self.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.


def self.sleep_disabled : Bool #

def self.sleep_disabled=(value : Bool) #

def self.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.


def self.to_h #

Generates a hash using the provided values