QueueDeath class final
One classified provider death: what killed the entry and how the chain should react.
Constructors
- QueueDeath({required QueueDeathKind kind, Duration? cooldown, bool immediate = false})
-
Creates the classification.
const
Properties
- cooldown → Duration?
-
The base cooldown for the dead entry; null derives from the event's
Retry-After(quota) or the policy backoff (everything else).final - hashCode → int
-
The hash code for this object.
no setterinherited
- immediate → bool
-
Whether the chain skips the retry ladder and advances at once
(auth — retrying a dead key is wasted latency).
final
- kind → QueueDeathKind
-
The death kind (the switch event's label).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited