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

source

conn-specclj

source

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.
sourceraw docstring

IConnectioncljprotocol

-conn-errorclj

(-conn-error this)

close-connclj

(close-conn this)

conn-alive?clj

(conn-alive? this)
source

IConnectionPoolcljprotocol

get-connclj

(get-conn this spec)

release-connclj

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

make-connection-factoryclj

(make-connection-factory)
source

make-new-connectionclj

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

pooled-connclj

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

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

Returns [<open-pool> <pooled-connection>]
sourceraw docstring

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

× close