Liking cljdoc? Tell your friends :D

failsage.impl


->async-runnableclj

(->async-runnable f)

Converts a Clojure function to a Failsafe AsyncRunnable.

Converts a Clojure function to a Failsafe AsyncRunnable.
sourceraw docstring

->checked-functionclj

(->checked-function f)

Converts a Clojure function to a Failsafe CheckedFunction.

Converts a Clojure function to a Failsafe CheckedFunction.
sourceraw docstring

->checked-predicateclj

(->checked-predicate f)

Converts a Clojure function to a Failsafe CheckedPredicate.

Converts a Clojure function to a Failsafe CheckedPredicate.
sourceraw docstring

->contextual-supplierclj

(->contextual-supplier f)

Converts a Clojure function to a Failsafe ContextualSupplier.

Converts a Clojure function to a Failsafe ContextualSupplier.
sourceraw docstring

->event-listenerclj

(->event-listener f)

Converts a Clojure function to a Failsafe EventListener.

Converts a Clojure function to a Failsafe EventListener.
sourceraw docstring

->executorclj

(->executor)
(->executor executor-or-policies)
(->executor pool executor-or-policies)

Creates a FailsafeExecutor with the given thread pool and policies. If no policies are provided, uses Failsafe.none() If no pool is provided, uses a default thread pool.

Creates a FailsafeExecutor with the given thread pool and policies.
If no policies are provided, uses Failsafe.none()
If no pool is provided, uses a default thread pool.
sourceraw docstring

execute-getclj

(execute-get executor-or-policies execute-fn)

Executes the given CheckedSupplier using the Failsafe executor.

Executes the given CheckedSupplier using the Failsafe executor.
sourceraw docstring

execute-get-asyncclj

(execute-get-async executor-or-policies execute-fn)

Executes the given CheckedSupplier using the Failsafe executor.

Executes the given CheckedSupplier using the Failsafe executor.
sourceraw docstring

get-policy-listclj

(get-policy-list & policy-args)

Returns a Failsafe-compatible sequence of policies.

Returns a Failsafe-compatible sequence of policies.
sourceraw docstring

get-poolclj

(get-pool pool)

Returns a Failsafe-compatible thread pool. If pool is a keyword, looks up the pool using futurama.core/get-pool. Otherwise, returns the provided pool, a default thread pool, or falls back to futurama.core/get-pool :io.

Returns a Failsafe-compatible thread pool. If `pool` is a keyword, looks up the pool using `futurama.core/get-pool`.
Otherwise, returns the provided pool, a default thread pool, or falls back to `futurama.core/get-pool :io`.
sourceraw docstring

IPolicyBuildercljprotocol

Protocol for building Failsafe policies.

Protocol for building Failsafe policies.

build-policyclj

(build-policy this)

Builds and returns the Failsafe Policy instance.

Builds and returns the Failsafe Policy instance.
sourceraw docstring

record-async-failureclj

(record-async-failure context error)

Records the error of an execution in the given ExecutionContext.

Records the error of an execution in the given ExecutionContext.
sourceraw docstring

record-async-successclj

(record-async-success context result)

Records the result of an execution in the given ExecutionContext.

Records the result of an execution in the given ExecutionContext.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close