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.
(close-conn conn)
(conn-alive? conn)
(get-spec conn)
(in-stream conn)
(out-stream conn)
(get-conn pool spec)
(release-conn pool conn)
(release-conn pool conn exception)
(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.
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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close