Mount points, they serve as glue between a cache that can house entries from multiple functions and the individual functions.
Mount points, they serve as glue between a cache that can house entries from multiple functions and the individual functions.
Contains map of mount point to cache instance
Contains map of mount point to cache instance
(alter-caches-mapping tag update-fn & update-fn-args)
Internal function. Modifies entire tagged cache map with the provided function. Applies the function as (fn [caches refs & other-update-fn-args])
Internal function. Modifies entire tagged cache map with the provided function. Applies the function as (fn [*caches* refs & other-update-fn-args])
(assoc-cache-tags index cache-tags ref)
Add Mount Point ref to tag index
Add Mount Point ref to tag index
(bind fn-or-var mount-conf cache)
Bind a cache to a fn or var. Internal function.
Bind a cache to a fn or var. Internal function.
(create-mount f cache mount-conf)
Create mount record by specified map conf
Create mount record by specified map conf
(dissoc-cache-tags index ref)
Remove Mount Point ref from tag index
Remove Mount Point ref from tag index
(mount-point obj)
Return active mount point from the object's meta.
Return active mount point from the object's meta.
(reify-mount-conf mount-conf)
Transform user given mount-conf to a canonical form of a map.
Transform user given mount-conf to a canonical form of a map.
(update-existing m ks update-fn)
Convenience function. Updates ks's that are present with the provided update fn.
Convenience function. Updates ks's that are present with the provided update fn.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close