Liking cljdoc? Tell your friends :D

taoensso.carmine.connections

Handles socket connection lifecycle. Pool is implemented with Apache Commons pool. Originally adapted from redis-clojure.

Handles socket connection lifecycle. Pool is implemented with Apache Commons
pool. Originally adapted from redis-clojure.
raw docstring

conn-poolclj

(conn-pool pool-opts & [use-cache?])

conn-specclj


IConnectioncljprotocol

close-connclj

(close-conn this)

conn-alive?clj

(conn-alive? this)

IConnectionPoolcljprotocol

get-connclj

(get-conn this spec)

release-connclj

(release-conn this conn)
(release-conn this conn exception)

make-connection-factoryclj

(make-connection-factory)

make-new-connectionclj

(make-new-connection {:keys [host port password db conn-setup-fn conn-timeout-ms
                             read-timeout-ms timeout-ms]
                      :as spec})

pooled-connclj

(pooled-conn {:as conn-opts pool-opts :pool spec-opts :spec})

Returns [<open-pool> <pooled-connection>].

Returns [<open-pool> <pooled-connection>].
raw docstring

set-pool-optionclj

(set-pool-option pool [opt v])

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

× close