class
Amazonite::Lambda::RetryDetails
- Amazonite::Lambda::RetryDetails
- Reference
- Object
Overview
Information about retry attempts for an operation.
Included Modules
- JSON::Serializable
Defined in:
lambda/retry_details.crConstructors
- .new(pull : JSON::PullParser)
- .new(current_attempt : Int32 | Nil = nil, next_attempt_delay_seconds : Int32 | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#current_attempt : Int32 | Nil
The current attempt number for this operation.
-
#current_attempt=(current_attempt : Int32 | Nil)
The current attempt number for this operation.
-
#hash(hasher)
See
Object#hash(hasher) -
#next_attempt_delay_seconds : Int32 | Nil
The delay before the next retry attempt, in seconds.
-
#next_attempt_delay_seconds=(next_attempt_delay_seconds : Int32 | Nil)
The delay before the next retry attempt, in seconds.
- #validate! : Nil
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def current_attempt=(current_attempt : Int32 | Nil)
#
The current attempt number for this operation.
def next_attempt_delay_seconds=(next_attempt_delay_seconds : Int32 | Nil)
#
The delay before the next retry attempt, in seconds.