Liking cljdoc? Tell your friends :D

full.cache


deleteclj

(delete k)

Deletes value from a 2-level cache (local+memcache).

Deletes value from a 2-level cache (local+memcache).
sourceraw docstring

getclj

(get k)
(get k timeout)

Gets value from a 2-level cache (local+memcache). If key is not in local cache, the remote memcache gets queried. If it does contain the key, the value is returned and optionally put in local cache (if timeout argument is specified).

Gets value from a 2-level cache (local+memcache). If key is not in local
cache, the remote memcache gets queried. If it does contain the key, the
value is returned and optionally put in local cache (if timeout argument
is specified).
sourceraw docstring

get-or-loadclj

(get-or-load k loader timeout)

Gets value from a 2-level cache (local+memcache). If the key is not in cache, loads it by calling loader function and stores the result in cache and returns it.

Gets value from a 2-level cache (local+memcache). If the key is not in cache,
loads it by calling loader function and stores the result in cache and returns
it.
sourceraw docstring

get-or-load>clj

(get-or-load> k loader> timeout)

Asynchronous version of get-or-load. Gets value from a 2-level cache. If the key is not in cache,loads it by calling loader function and stores the result in cache and returns it. Returns core.async channel that will contain the value. Loader function should also return a core.async channel with loaded value.

Asynchronous version of get-or-load. Gets value from a 2-level cache. If the
key is not in cache,loads it by calling loader function and stores the result
in cache and returns it. Returns core.async channel that will contain the
value. Loader function should also return a core.async channel with loaded
value.
sourceraw docstring

ldeleteclj

(ldelete k)
source

lgetclj

(lget k)
source

lget-or-loadclj

(lget-or-load k loader timeout)
source

lget-or-load>clj

(lget-or-load> k loader> timeout & {:keys [allow-nil?] :or {allow-nil? true}})
source

lsetclj

(lset k v timeout)
source

memcache-addressclj

source

nil->noneclj

(nil->none v)
source

none->nilclj

(none->nil v)
source

prefixkeyclj

(prefixkey k)
source

raddclj

(radd k v)
(radd k v timeout & {:keys [throw?]})
source

radd-or-getclj

(radd-or-get k v)
(radd-or-get k v timeout & {:keys [throw?]})
source

rdecrclj

(rdecr k by timeout & {:keys [throw? default] :or {default 0}})
source

rdeleteclj

(rdelete k & {:keys [throw?]})
source

rgetclj

(rget k & {:keys [throw?]})
source

rget-or-loadclj

(rget-or-load k loader)
(rget-or-load k loader timeout & {:keys [throw?]})
source

rget-or-load>clj

(rget-or-load> k loader>)
(rget-or-load> k
               loader>
               timeout
               &
               {:keys [throw? allow-nil?] :or {allow-nil? true}})

Gets value from cache or loads it via async function, ensuring there's only one loader active for given key (ie. it's synchronized for given key). Loader function must return core.async channel.

Gets value from cache or loads it via async function, ensuring there's only one loader active for given key (ie.
it's synchronized for given key). Loader function must return core.async channel.
sourceraw docstring

rincrclj

(rincr k by timeout & {:keys [throw? default] :or {default 0}})
source

rsetclj

(rset k v)
(rset k v timeout & {:keys [throw?]})
source

rtouchclj

(rtouch k timeout & {:keys [throw?]})
source

setclj

(set k v timeout)

Puts value in a 2-level cache (local+memcache).

Puts value in a 2-level cache (local+memcache).
sourceraw docstring

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

× close