Liking cljdoc? Tell your friends :D
Clojure only.

datastar.wow.deacon.caffeine

In-memory connection storage backed by Caffeine.

In-memory connection storage backed by Caffeine.
raw docstring

storeclj

(store {:keys [idle-ms maximum-size cache]
        :or {idle-ms (* 10 60 1000) maximum-size 10000}})

Return a CaffeineConnectionStore.

Options (all optional):

  • :idle-ms – how long a connection may sit idle before it is auto-purged (default 10 minutes)
  • :maximum-size – hard cap on the total number of live connections (default 10000)
  • :cache – an already-built com.github.benmanes.caffeine.cache.Cache (overrides every other option)
Return a `CaffeineConnectionStore`.

Options (all optional):
* `:idle-ms`      – how long a connection may sit idle before it is
                    auto-purged (default 10 minutes)
* `:maximum-size` – hard cap on the total number of live connections
                    (default 10000)
* `:cache`        – an already-built `com.github.benmanes.caffeine.cache.Cache`
                    (overrides every other option)
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close