Where failure times are kept. In memory for one process; an adapter over a shared store makes the limit hold across every instance of the backend.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
String key) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
record(
String key, DateTime at, {required Duration keepFor}) → Future< void> -
Records a failure for
key, forgetting any older thankeepFor. -
since(
String key, DateTime from) → Future< List< DateTime> > -
Failure times for
keyafterfrom, oldest first. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited