KeepAliveLink class
A class that manages the expiration of cache entries or groups.
- Annotations
-
- @immutable
Constructors
-
KeepAliveLink.new(List<
OnExpire> _onExpire) -
Creates a new KeepAliveLink with the given expiration callbacks.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addOnExpire(
OnExpire onExpire) → void - Adds a new expiration callback to this link.
-
expire(
) → void - Triggers the expiration of this link, executing all registered callbacks.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override