CacheManager<V> class

A generic cache manager that supports time-based expiration and group-based management.

Constructors

CacheManager.new()

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

get(Key key) → V?
Retrieves a value from the cache.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(Key key, V value, {Duration? timeToLive, String? groupId}) KeepAliveLink
Sets a value in the cache and returns a KeepAliveLink for management.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited