(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.
(default-keys-generator memento-space-prefix
memento-secondary-index-prefix
anon-key-strat)Generates keys to be used when working with Redis.
Generates keys to be used when working with Redis.
(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-key? this cache-name k)Returns true if key belongs to the named cache
Returns true if key belongs to the named cache
(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-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-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-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-key? this cache-name segment k)Returns true if key belongs to the Segment
Returns true if key belongs to the Segment
(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.
(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.
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 |