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-specclj


Connectionclj


ConnectionPoolclj


default-ssl-fnclj

(default-ssl-fn {:keys [socket host port]})

Takes an unencrypted underlying java.net.Socket and returns an encrypted java.net.Socket using the environment's default SSLSocketFactory.

Takes an unencrypted underlying java.net.Socket and returns an
encrypted java.net.Socket using the environment's default SSLSocketFactory.
raw docstring

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 ssl-fn]
                      :as spec})

NonPooledConnectionPoolclj


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

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

× close