Enum Class OracleTransactional.Recoverable.OutcomePolicy
java.lang.Object
java.lang.Enum<OracleTransactional.Recoverable.OutcomePolicy>
io.micronaut.transaction.annotation.OracleTransactional.Recoverable.OutcomePolicy
- All Implemented Interfaces:
Serializable, Comparable<OracleTransactional.Recoverable.OutcomePolicy>, Constable
- Enclosing class:
OracleTransactional.Recoverable
public static enum OracleTransactional.Recoverable.OutcomePolicy
extends Enum<OracleTransactional.Recoverable.OutcomePolicy>
Policy used when the outcome cannot be determined.
- Since:
- 5.2
- Author:
- radovanradic
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RETRY
Retry the entire transactional method. -
FAIL
Fail fast and rethrow the original exception.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-