Liking cljdoc? Tell your friends :D

celtuce.connector


as-pubsubclj

(as-pubsub {:keys [redis-client codec]})

create-client-resourceclj

(create-client-resource options-map)

You can create an instance of client resources in a clojuresque way; check out the class io.lettuce.core.resource.ClientResources for details.

It is useful to configure "plumbing" of client side redis connections such as: Netty threads, metrics, etc. But also it is good to have it for sharing the same NIO layer across multiple connections.

Currently only the number of threads are implemented. Also, you can call it without any param or with an empty map and it will create a default client resource, but that can be shared across client connections.

You can create an instance of client resources in a clojuresque way; check out the
class io.lettuce.core.resource.ClientResources for details.

It is useful to configure "plumbing" of client side redis connections such as: Netty
threads, metrics, etc. But also it is good to have it for sharing the same NIO layer
across multiple connections.

Currently only the number of threads are implemented. Also, you can call it without
any param or with an empty map and it will create a default client resource, but that
can be shared across client connections.
raw docstring

destroy-client-resourceclj

(destroy-client-resource client-resources)

If you create a client resource, you must close/dispose it; otherwise you will not shutdown the Netty threads.

If you create a client resource, you must close/dispose it; otherwise you will not
shutdown the Netty threads.
raw docstring

kw->cunitclj


kw->dbehaviorclj


kw->rtriggerclj


kw->tunitclj


Listenablecljprotocol

Register a celtuce.commands.PubSubListener on a stateful pubsub connection

Register a celtuce.commands.PubSubListener on a stateful pubsub connection

add-listener!clj

(add-listener! this listener)
raw docstring

redis-clusterclj

(redis-cluster redis-uri
               &
               {codec :codec
                client-options :client-options
                {auto-flush :auto-flush
                 conn-timeout :timeout
                 conn-unit :unit
                 client-resources :client-resources
                 :or {auto-flush true}}
                  :conn-options
                :or {codec (nippy-codec) client-options {}}})

redis-serverclj

(redis-server redis-uri
              &
              {codec :codec
               client-options :client-options
               {auto-flush :auto-flush
                conn-timeout :timeout
                conn-unit :unit
                client-resources :client-resources
                :or {auto-flush true}}
                 :conn-options
               :or {codec (nippy-codec) client-options {}}})

RedisConnectorcljprotocol

Manipulate Redis client and stateful connection

Manipulate Redis client and stateful connection

commands-dynamicclj

(commands-dynamic this cmd-class)

commands-syncclj

(commands-sync this)

flush-commandsclj

(flush-commands this)

resetclj

(reset this)

set-optionsclj

(set-options this options)

shutdownclj

(shutdown this)
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