Stores pairs of connection + indexes key seen
Stores pairs of connection + indexes key seen
(invalidate-by-index conn indexes-key id-keys)
Remove (invalidate) secondary index and all the keys therein
Remove (invalidate) secondary index and all the keys therein
(keys-param-for-sec-idx kg k cache-name tag-idents)
Script to insert an entry with secondary indexes has special KEYS structure of [k, indexes-key, id-key1, id-key2, ....].
Script to insert an entry with secondary indexes has special KEYS structure of [k, indexes-key, id-key1, id-key2, ....].
(maintenance-step all-indexes)
Perform maintenance multithreaded, one future per each connection after the first.
Perform maintenance multithreaded, one future per each connection after the first.
(removed-expired-keys conn set-key)
Looks at 20 keys in master index then look at up to 20 of their entries. If more than 20% were expired, repeat the process.
Looks at 20 keys in master index then look at up to 20 of their entries. If more than 20% were expired, repeat the process.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close