Enum RetryEvents.Result
- java.lang.Object
-
- java.lang.Enum<RetryEvents.Result>
-
- io.smallrye.faulttolerance.core.retry.RetryEvents.Result
-
- All Implemented Interfaces:
Serializable,Comparable<RetryEvents.Result>
- Enclosing class:
- RetryEvents
public static enum RetryEvents.Result extends Enum<RetryEvents.Result>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCEPTION_NOT_RETRYABLEMAX_DURATION_REACHEDMAX_RETRIES_REACHEDVALUE_RETURNED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RetryEvents.ResultvalueOf(String name)Returns the enum constant of this type with the specified name.static RetryEvents.Result[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALUE_RETURNED
public static final RetryEvents.Result VALUE_RETURNED
-
EXCEPTION_NOT_RETRYABLE
public static final RetryEvents.Result EXCEPTION_NOT_RETRYABLE
-
MAX_RETRIES_REACHED
public static final RetryEvents.Result MAX_RETRIES_REACHED
-
MAX_DURATION_REACHED
public static final RetryEvents.Result MAX_DURATION_REACHED
-
-
Method Detail
-
values
public static RetryEvents.Result[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RetryEvents.Result c : RetryEvents.Result.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RetryEvents.Result valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-