SyncCacheDelegate<D extends Object, P extends Object> class abstract

Delegate that synchronously performs caching operations D - data type to store P - params type

Implementers
Available extensions

Constructors

SyncCacheDelegate()

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

delete(P params) → void
Deletes cached value params Caching key
get(P params) Entity<D>?
Returns data if cached params Caching key
invalidate(P params) → void
Invalidates cached value params Caching key
invalidateAll() → void
Invalidates all cached values
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(P params, Entity<D> entity) → void
Saves data to cache params Caching key entity Entity to cache
toString() String
A string representation of this object.
inherited

Operators

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