Liking cljdoc? Tell your friends :D

eva.v2.database.index-manager


->evict-callbackclj

(->evict-callback database-id)
source

get-indexesclj

(get-indexes store database-id target-log-entry)
source

global-index-cacheclj

source

index-agent-error-handlerclj

(index-agent-error-handler ia ex)
source

index-idclj

(index-id database-id tx-num)
source

IndexAgentcljprotocol

deliver-indexesclj

(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-indexesclj

(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.
source

IndexManagercljprotocol

evict-dbclj

(evict-db im database-id)

Evicts all cached indexes under the given database-id.

Evicts all cached indexes under the given database-id.

retrieve-indexesclj

(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.
source

roots->min-index-positionclj

(roots->min-index-position index-roots)
source

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

× close