Liking cljdoc? Tell your friends :D

com.potetm.fusebox.bulkhead


disableclj

(disable spec)
source

initclj

(init {c :com.potetm.fusebox.bulkhead/concurrency
       _wt :com.potetm.fusebox.bulkhead/wait-timeout-ms
       :as spec})

Initialize a bulkhead (i.e. concurrency limiter).

spec is a map containing: ::concurrency - the integer number of concurrent callers to allow ::wait-timeout-ms - max millis a thread will wait to enter bulkhead

Initialize a bulkhead (i.e. concurrency limiter).

spec is a map containing:
  ::concurrency     - the integer number of concurrent callers to allow
  ::wait-timeout-ms - max millis a thread will wait to enter bulkhead
sourceraw docstring

shutdownclj

(shutdown {s :com.potetm.fusebox.bulkhead/sem})
source

with-bulkheadcljmacro

(with-bulkhead spec & body)

Evaluates body, guarded by the provided bulkhead.

Evaluates body, guarded by the provided bulkhead.
sourceraw docstring

with-bulkhead*clj

(with-bulkhead* {s :com.potetm.fusebox.bulkhead/sem
                 to :com.potetm.fusebox.bulkhead/wait-timeout-ms
                 :as spec}
                f)
source

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

× close