Datomic's storage-specific implementation of the shared v8 snapshot adapter. Authorization graph algorithms remain outside this namespace.
Datomic's storage-specific implementation of the shared v8 snapshot adapter. Authorization graph algorithms remain outside this namespace.
(await-basis-db conn local-db requested-t timeout-ms phase)(await-basis-db conn local-db requested-t timeout-ms phase failure-kind)Returns one Datomic DB whose observed basis is at least requested-t.
local-db is the request's single captured local observation. Synchronizes
only when that value is behind, bounds the wait, verifies Datomic's promised
postcondition, and owns cancellation of the returned future on timeout or
interruption. Provider failures retain their cause and selection phase.
Returns one Datomic DB whose observed basis is at least `requested-t`. `local-db` is the request's single captured local observation. Synchronizes only when that value is behind, bounds the wait, verifies Datomic's promised postcondition, and owns cancellation of the returned future on timeout or interruption. Provider failures retain their cause and selection phase.
(basis-adapter db
{:keys [entid->object-id object-id->entid adapter-fingerprint
adapter-deterministic? identity-contract]
:as config})Creates the connection-free basis adapter used by the shared pipeline.
Creates the connection-free basis adapter used by the shared pipeline.
(basis-kind db)Classifies one Datomic database value without touching an EACL runtime.
This is structural classification only. It deliberately does not claim to
distinguish a speculative d/with product from committed state; public
EACL APIs never admit arbitrary native values.
Classifies one Datomic database value without touching an EACL runtime. This is structural classification only. It deliberately does not claim to distinguish a speculative `d/with` product from committed state; public EACL APIs never admit arbitrary native values.
(connection-source-id conn)Returns Datomic's durable database identity without calling d/db.
Peer connections expose db_id; local connections expose their resident
database reference. The fallback is deliberately rejected rather than
manufacturing a process-local identity that would make cross-process tokens
unsound.
Returns Datomic's durable database identity without calling `d/db`. Peer connections expose `db_id`; local connections expose their resident database reference. The fallback is deliberately rejected rather than manufacturing a process-local identity that would make cross-process tokens unsound.
(database-source-scope db)Returns the durable Datomic database identity carried by db.
Returns the durable Datomic database identity carried by `db`.
(source conn opts)Builds a static borrowed Datomic basis source.
Construction reads only the connection's durable database id. At-least and
exact selection capture one local Peer DB and start one targeted d/sync T
only when that immutable observation is below the authenticated floor.
Builds a static borrowed Datomic basis source. Construction reads only the connection's durable database id. At-least and exact selection capture one local Peer DB and start one targeted `d/sync T` only when that immutable observation is below the authenticated floor.
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 |