Liking cljdoc? Tell your friends :D
Clojure only.

curator.mutex


acquireclj

(acquire m)
(acquire m n)
(acquire m n tu)

If no timeunits are given, blocks until acquired. Otherwise returns true or false depending on if it acquires the lock in the given time. Time defaults to milliseconds.

If no timeunits are given, blocks until acquired. Otherwise returns true or
false depending on if it acquires the lock in the given time. Time defaults
to milliseconds.
sourceraw docstring

mutexclj

(mutex client path)

Create an InterProcessMutex.

Create an InterProcessMutex.
sourceraw docstring

releaseclj

(release m)

Release a mutex.

Release a mutex.
sourceraw docstring

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

× close