Modifier and Type | Method and Description |
---|---|
FailurePolicyConfig<R> |
getConfig()
Returns the policy config.
|
default boolean |
isFailure(R result,
Throwable exception)
Returns whether an execution
result or exception are considered a failure according to the policy
configuration. |
toExecutor
FailurePolicyConfig<R> getConfig()
Policy
Copyright © 2022. All rights reserved.