Liking cljdoc? Tell your friends :D

persistroids.cache


cache-get-or-createclj

(cache-get-or-create [c1 c2] key val)

If key is found in cache, return found value, otherwise cache val and return it.

If key is found in cache, return found value, otherwise
cache val and return it.
sourceraw docstring

cache-lookupclj

(cache-lookup [c1 c2] key)

Literally lookup key in the cache to return its value.

Literally lookup key in the cache to return its value.
sourceraw docstring

cache-putclj

(cache-put [c1 c2] key val)

Put the pair key-val in the cache, replacing previous value if found, and return val.

Put the pair key-val in the cache, replacing
previous value if found, and return val.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close