Liking cljdoc? Tell your friends :D

tank.circuit-breaker


circuit-breakerclj

(circuit-breaker trip-threshold recovery-ms)

Creates a circuit breaker. Params:

trip-threshold: number denoting amount of fails before the circuit breaker is tripped

recovery-ms: time, in milliseconds, for resetting one error count.

Creates a circuit breaker.
Params:

`trip-threshold`: number denoting amount of fails before the circuit
breaker is tripped

`recovery-ms`: time, in milliseconds, for resetting one error count.
sourceraw docstring

ICircuitBreakercljprotocol

call!clj

(call! this proc)

shutdown!clj

(shutdown! this)

tripped?clj

(tripped? this)
source

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

× close