Memoization library with many features.
memento.cache introduces Cache protocol that people need to extend when making extensions.
Memoization library with many features. memento.cache introduces Cache protocol that people need to extend when making extensions.
(base-create-cache conf)
Create a cache.
A conf is a map of cache settings, see memento.config namespace for names of settings.
Create a cache. A conf is a map of cache settings, see memento.config namespace for names of settings.
An LockoutMap. Implementation developers use this to do caching in a fashion that is aware of bulk invalidation.
An LockoutMap. Implementation developers use this to do caching in a fashion that is aware of bulk invalidation.
Instantiate cache. Extension point, do not call directly.
Instantiate cache. Extension point, do not call directly.
(parse-time-scalar time-param)
Returns the scalar part of time spec. Time can be specified by integer or a vector of two elements, where first element is an integer and the other is the time unit keyword.
Returns the scalar part of time spec. Time can be specified by integer or a vector of two elements, where first element is an integer and the other is the time unit keyword.
(parse-time-unit time-param)
Returns the time unit part of time spec. Time can be specified by integer or a vector of two elements, where first element is an integer and the other is the time unit keyword. If only integer is specified then time unit is seconds.
Returns the time unit part of time spec. Time can be specified by integer or a vector of two elements, where first element is an integer and the other is the time unit keyword. If only integer is specified then time unit is seconds.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close