memcached library
Classes
-
LazyCache<
T> -
LazyCacheSync<
T>
Properties
-
cacheLocks
↔ Map<
String, Lock> -
getter/setter pair
Functions
-
getCached<
T> ({required String id, required ValueGetter< Future< getter, required Duration duration}) → Future<T> >T> -
getCachedSync<
T> ({required String id, required ValueGetter< T> getter, required Duration duration}) → T -
getLock(
String key) → Lock -
invalidateCached(
String id) → void -
invalidateCachedSync(
String id) → void
Typedefs
-
ValueGetter<
T> = T Function()