Liking cljdoc? Tell your friends :D
Clojure only.

crimson.cluster


initclj

(init {:keys [nodes connection-timeout socket-timeout max-attempts pool-config]
       :as params})

Creates a new redis cluster and returns JedisCluster instance.

Accepts:

  • nodes: A set of maps with :host and :port
  • connection-timeout: connection timeout in milliseconds
  • socket-timeout: socket timeout in milliseconds
  • max-attempts: maximum number of redirects for running a command in redis cluster
  • pool-config: pool config for redis cluster
Creates a new redis cluster and returns `JedisCluster` instance.

Accepts:
  - nodes:              A set of maps with :host and :port
  - connection-timeout: connection timeout in  milliseconds
  - socket-timeout:     socket timeout in milliseconds
  - max-attempts:       maximum number of redirects for running a command in redis cluster
  - pool-config:        pool config for redis cluster
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close