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.
(conn-pool pool-opts & [use-cache?])(close-conn this)(conn-alive? this)(get-conn this spec)(release-conn this conn)(release-conn this conn exception)(make-connection-factory)(make-new-connection {:keys [host port password db conn-setup-fn conn-timeout-ms
                             read-timeout-ms timeout-ms]
                      :as spec})(pooled-conn {:as conn-opts pool-opts :pool spec-opts :spec})Returns [<open-pool> <pooled-connection>].
Returns [<open-pool> <pooled-connection>].
(set-pool-option pool [opt v])cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |