Liking cljdoc? Tell your friends :D

memento.redis.keys


by-patternclj

(by-pattern key)

Returns a SCAN result sequence, partitioned to 1000 items per batch. Needs to be called inside car/wcar.

Returns an eduction.

Returns a SCAN result sequence, partitioned to 1000 items per batch.
Needs to be called inside car/wcar.

Returns an eduction.
sourceraw docstring

default-keys-generatorclj

(default-keys-generator memento-space-prefix
                        memento-secondary-index-prefix
                        anon-key-strat)
source

digestclj

(digest dig-name o)
source

KeysGeneratorcljprotocol

Generates keys to be used when working with Redis.

Generates keys to be used when working with Redis.

base-wildcard-keysclj

(base-wildcard-keys this)

Returns a coll of wildcard keys that will select all keys of all Memento Redis caches that use this kind of Keys Generator, used for nuking all the caches.

Returns a coll of wildcard keys that will select all keys of all Memento Redis caches
that use this kind of Keys Generator, used for nuking all the caches.

cache-wildcard-keyclj

(cache-wildcard-key this cache-name)

A wildcard (glob) key that will return all keys used by a particular cache.

A wildcard (glob) key that will return all keys used by a particular cache.

entry-keyclj

(entry-key this cache-name segment args-key)

A concrete key for an entry. Segment is memento.base.Segment.

A concrete key for an entry. Segment is memento.base.Segment.

sec-index-id-keyclj

(sec-index-id-key this cache-name id)

ID for the SET that houses all the keys that get invalidated by id.

ID for the SET that houses all the keys that get invalidated by id.

sec-indexes-keyclj

(sec-indexes-key this)

ID for the SET that houses all base keys of secondary indexes.

ID for the SET that houses all base keys of secondary indexes.

segment-wildcard-keyclj

(segment-wildcard-key this cache-name segment)

A wildcard (glob) key that will return all keys used by a particular memoized function. Segment is memento.base.Segment.

A wildcard (glob) key that will return all keys used by a particular memoized
function. Segment is memento.base.Segment.
sourceraw docstring

sha1-digestclj

source

sha256-digestclj

source

wildcardclj

(wildcard key)

Creates a wildcard key from a list key. It will select all keys with additional elements in the list. It will not select the key itself.

Need to use REAL list, not list*. Metadata on the list is ignored as it screws up wildcarding

Escapes bytes ? * [ \ from provided key.

Creates a wildcard key from a list key. It will select all keys with additional
elements in the list. It will not select the key itself.

Need to use REAL list, not list*. Metadata on the list is ignored as it screws up wildcarding

Escapes bytes ? * [ \ from provided key.
sourceraw docstring

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

× close