(commit retries)
Returns:
Returns: - nil if everything went ok - an error "object" if anything went wrong
(commute-ref rk)
Applies all ref's commutes starting with ref's oldval
Applies all ref's commutes starting with ref's oldval
(notify-watches)
(notify-watches rks)
Notifies watches on all updatables given the latest oldval and latest tval
Notifies watches on all updatables given the latest oldval and latest tval
(throw-when-nil-t)
Throws IllegalStateException if t is nil. Returns nil otherwise. This is equivalent to clojure.lang.LockingTransaction/getEx() Used in RedisRef to guard methods from being called outside transaction.
Throws IllegalStateException if *t* is nil. Returns nil otherwise. This is equivalent to clojure.lang.LockingTransaction/getEx() Used in RedisRef to guard methods from being called outside transaction.
(updatables)
Returns a set of refs that have been altered or commuted
Returns a set of refs that have been altered or commuted
(validate)
(validate rks)
Validates all updatables given the latest tval
Validates all updatables given the latest tval
(validate* vf val)
This is a clojure re-implementation of clojure.lang.ARef/validate because it cannot be accessed by subclasses. It is needed to invoke when changing ref state
This is a clojure re-implementation of clojure.lang.ARef/validate because it cannot be accessed by subclasses. It is needed to invoke when changing ref state
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close