Liking cljdoc? Tell your friends :D

resilience.core


executecljmacro

(execute execute-body & args)
source

execute-callable*cljmacro

(execute-callable* f)
source

execute-with-breakercljmacro

(execute-with-breaker breaker & body)

Execute the following codes with the protection of a circuit breaker given by breaker argument.

Please try to not put clojure.core/recur in body otherwise you may get an infinite loop easily.

Execute the following codes with the protection
of a circuit breaker given by `breaker` argument.

Please try to not put `clojure.core/recur` in `body`
otherwise you may get an infinite loop easily.
sourceraw docstring

execute-with-bulkheadcljmacro

(execute-with-bulkhead bulkhead & body)

Execute the following codes with the protection of a bulkhead given by bulkhead argument.

Please try to not put clojure.core/recur in body otherwise you may get an infinite loop easily.

Execute the following codes with the protection
of a bulkhead given by `bulkhead` argument.

Please try to not put `clojure.core/recur` in `body`
otherwise you may get an infinite loop easily.
sourceraw docstring

execute-with-rate-limitercljmacro

(execute-with-rate-limiter rate-limiter & body)
source

execute-with-retrycljmacro

(execute-with-retry retry & body)

Execute the following codes with the protection of a retry policy given by retry argument.

Please try to not put clojure.core/recur in body otherwise you may get an infinite loop easily.

Execute the following codes with the protection
of a retry policy given by `retry` argument.

Please try to not put `clojure.core/recur` in `body`
otherwise you may get an infinite loop easily.
sourceraw docstring

execute-with-time-limitercljmacro

(execute-with-time-limiter timelimiter & body)

Execute the following codes with the protection of a time limiter given by time-limiter argument.

Please try to not put clojure.core/recur in body otherwise you may get an infinite loop easily.

Execute the following codes with the protection
of a time limiter given by `time-limiter` argument.

Please try to not put `clojure.core/recur` in `body`
otherwise you may get an infinite loop easily.
sourceraw docstring

recovercljmacro

(recover failover-fn wraped-fn)
source

recover-fromcljmacro

(recover-from exceptions failover-fn wraped-fn)
source

to-fncljmacro

(to-fn & body)
source

with-breakerclj

(with-breaker breaker f)

Provide a function f which has no arguments and returns a function which is decorated by a circuit breaker given by breaker argument. Usually this is used within resilience.core/execute block.

Provide a function `f` which has no arguments and returns a function
which is decorated by a circuit breaker given by `breaker` argument.
Usually this is used within `resilience.core/execute` block.
sourceraw docstring

with-bulkheadclj

(with-bulkhead bulkhead f)

Provide a function f which has no arguments and returns a function which is decorated by a bulkhead given by bulkhead argument. Usually this is used within resilience.core/execute block.

Provide a function `f` which has no arguments and returns a function
which is decorated by a bulkhead given by `bulkhead` argument.
Usually this is used within `resilience.core/execute` block.
sourceraw docstring

with-rate-limiterclj

(with-rate-limiter rate-limiter f)

Provide a function f which has no arguments and returns a function which is decorated by a rate limiter given by rate-limiter argument. Usually this is used within resilience.core/execute block.

Provide a function `f` which has no arguments and returns a function
which is decorated by a rate limiter given by `rate-limiter` argument.
Usually this is used within `resilience.core/execute` block.
sourceraw docstring

with-resilience-familycljmacro

(with-resilience-family family-members & body)
source

with-retryclj

(with-retry retry f)

Provide a function f which has no arguments and returns a function which is decorated by a retry policy given by retry argument. Usually this is used within resilience.core/execute block.

Provide a function `f` which has no arguments and returns a function
which is decorated by a retry policy given by `retry` argument.
Usually this is used within `resilience.core/execute` block.
sourceraw docstring

with-time-limiterclj

(with-time-limiter time-limiter f)

Provide a function f which has no arguments and returns a function which is decorated by a time limiter given by time-limiter argument. Usually this is used within resilience.core/execute block.

Provide a function `f` which has no arguments and returns a function
which is decorated by a time limiter given by `time-limiter` argument.
Usually this is used within `resilience.core/execute` block.
sourceraw docstring

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

× close