Interface SmallRyeFaultToleranceConfig.StrategiesConfig.RetryWhenConfig
- Enclosing interface:
- SmallRyeFaultToleranceConfig.StrategiesConfig
public static interface SmallRyeFaultToleranceConfig.StrategiesConfig.RetryWhenConfig
-
Method Summary
Modifier and TypeMethodDescriptionenabled()Whether the@RetryWhenstrategy is enabled.Class of the predicate that will be used to determine whether the invocation should be retried if the guarded method has thrown an exception.result()Class of the predicate that will be used to determine whether the invocation should be retried if the guarded method has returned a result.
-
Method Details
-
enabled
Whether the@RetryWhenstrategy is enabled. -
exception
Class of the predicate that will be used to determine whether the invocation should be retried if the guarded method has thrown an exception.- See Also:
-
RetryWhen.exception()
-
result
Class of the predicate that will be used to determine whether the invocation should be retried if the guarded method has returned a result.- See Also:
-
RetryWhen.result()
-