Liking cljdoc? Tell your friends :D

com.timezynk.domain.mongo.update

Abstraction layer over various update strategies.

Abstraction layer over various update strategies.
raw docstring

apply!clj

(apply! strategy)

Persists the update and runs all side-effects.

Persists the update and runs all side-effects.
raw docstring

fastclj

(fast cname restriction patch)

Fast constructor.

`Fast` constructor.
raw docstring

revisionedclj

(revisioned cname restriction patch)

Revisioned constructor.

`Revisioned` constructor.
raw docstring

Strategycljprotocol

acquireclj

(acquire this)

Lock documents so concurrent updates do not collide.

Lock documents so concurrent updates do not collide.

fetchclj

(fetch this)

Fetches affected documents.

Fetches affected documents.

patcherclj

(patcher this)

Builds a function which applies the patch without persisting the result. The function has a single parameter which is expected to be a document.

Builds a function which applies the patch without persisting the result.
The function has a single parameter which is expected to be a document.

queryclj

(query this)

MongoDB query to fetch affected documents.

MongoDB query to fetch affected documents.

releaseclj

(release this)

Unlocks documents so other threads can update them.

Unlocks documents so other threads can update them.

update!clj

(update! this oldies newlings)

Persists patched documents.

Persists patched documents.

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

× close