class
Movie::Persistence::ResiliencePolicy
- Movie::Persistence::ResiliencePolicy
- Reference
- Object
Defined in:
movie/persistence/resilience.crConstructors
- .disabled : self
- .new(max_retries : Int32 = 0, min_backoff : Time::Span = Time::Span.zero, max_backoff : Time::Span = Time::Span.zero, circuit_failure_threshold : Int32 = 5, circuit_reset_timeout : Time::Span = 5.seconds)
Instance Method Summary
- #circuit_failure_threshold : Int32
- #circuit_reset_timeout : Time::Span
- #max_backoff : Time::Span
- #max_retries : Int32
- #min_backoff : Time::Span
Constructor Detail
def self.new(max_retries : Int32 = 0, min_backoff : Time::Span = Time::Span.zero, max_backoff : Time::Span = Time::Span.zero, circuit_failure_threshold : Int32 = 5, circuit_reset_timeout : Time::Span = 5.seconds)
#