SessionIoRetryConfig class final
Retry wiring for one session store: the policy caps the window, the
logger receives one session_io_retry line per retry, and delay
replaces the wall-clock sleep (tests inject an instant recorder).
Constructors
-
SessionIoRetryConfig({SessionIoRetryPolicy policy = const SessionIoRetryPolicy(), SessionIoRetryLogger? logger, Future<
void> delay(Duration delay) = defaultSessionIoDelay}) -
Creates a SessionIoRetryConfig.
const
Properties
-
delay
→ Future<
void> Function(Duration delay) -
The sleep between retries.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- logger → SessionIoRetryLogger?
-
One line per retry;
nulllogs nothing.final - policy → SessionIoRetryPolicy
-
The backoff schedule.
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