Liking cljdoc? Tell your friends :D

carmine.connections

Handles life cycle of socket connections to Redis server. Connection pool is implemented using Apache Commons pool. Adapted from redis-clojure.

Handles life cycle of socket connections to Redis server. Connection pool is
implemented using Apache Commons pool. Adapted from redis-clojure.
raw docstring

IConnectioncljprotocol

close-connclj

(close-conn conn)

conn-alive?clj

(conn-alive? conn)

get-specclj

(get-spec conn)

in-streamclj

(in-stream conn)

out-streamclj

(out-stream conn)
source

IConnectionPoolcljprotocol

get-connclj

(get-conn pool spec)

release-connclj

(release-conn pool conn)
(release-conn pool conn exception)
source

make-connection-factoryclj

(make-connection-factory)
source

make-new-connectionclj

(make-new-connection {:keys [host port password timeout db] :as spec})

Actually creates and returns a new socket connection.

Actually creates and returns a new socket connection.
sourceraw docstring

non-pooled-connection-poolclj

A degenerate connection pool. Gives us a pool-like interface for non-pooled connections.

A degenerate connection pool. Gives us a pool-like interface for non-pooled
connections.
sourceraw docstring

set-pool-optionclj

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

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

× close