Liking cljdoc? Tell your friends :D

celtuce.connector


as-pubsubclj

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

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.
sourceraw 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.
sourceraw docstring

kw->cunitclj

source

kw->dbehaviorclj

source

kw->rtriggerclj

source

kw->tunitclj

source

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)
sourceraw 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 {}}})
source

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 {}}})
source

RedisClusterclj

source

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)
sourceraw docstring

RedisPubSubclj

source

RedisServerclj

source

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

× close