Enum RetryEvents.Finished
- java.lang.Object
-
- java.lang.Enum<RetryEvents.Finished>
-
- io.smallrye.faulttolerance.core.retry.RetryEvents.Finished
-
- All Implemented Interfaces:
InvocationContextEvent,Serializable,Comparable<RetryEvents.Finished>
- Enclosing class:
- RetryEvents
public static enum RetryEvents.Finished extends Enum<RetryEvents.Finished> implements InvocationContextEvent
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCEPTION_NOT_RETRYABLEMAX_DURATION_REACHEDMAX_RETRIES_REACHEDVALUE_RETURNED
-
Field Summary
Fields Modifier and Type Field Description RetryEvents.Resultresult
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RetryEvents.FinishedvalueOf(String name)Returns the enum constant of this type with the specified name.static RetryEvents.Finished[]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.Finished VALUE_RETURNED
-
EXCEPTION_NOT_RETRYABLE
public static final RetryEvents.Finished EXCEPTION_NOT_RETRYABLE
-
MAX_RETRIES_REACHED
public static final RetryEvents.Finished MAX_RETRIES_REACHED
-
MAX_DURATION_REACHED
public static final RetryEvents.Finished MAX_DURATION_REACHED
-
-
Field Detail
-
result
public final RetryEvents.Result result
-
-
Method Detail
-
values
public static RetryEvents.Finished[] 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.Finished c : RetryEvents.Finished.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.Finished 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
-
-