(deliver-indexes ia res)
Delivers the indexes contained in the agent to the promise res. Throws if the agent has not been initialized.
Delivers the indexes contained in the agent to the promise res. Throws if the agent has not been initialized.
(initialize-indexes ia store database-id base-index-roots target-tx-entry res)
Initializes the index agent. Idempotent in that the work to initialize the agent will only happen once. Advances the base-index-roots provided to tx-num of target-tx-entry. Once advanced delivers the advanced indexes to the promise res as a side effect.
Initializes the index agent. Idempotent in that the work to initialize the agent will only happen once. Advances the base-index-roots provided to tx-num of target-tx-entry. Once advanced delivers the advanced indexes to the promise res as a side effect.
(evict-db im database-id)
Evicts all cached indexes under the given database-id.
Evicts all cached indexes under the given database-id.
(retrieve-indexes im log database-id target-log-entry res)
Will deliver the indexes at target-log-entry to the passed promise res.
Will deliver the indexes at target-log-entry to the passed promise res.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close