(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close