Enum MetricDefinition.RetryResult
java.lang.Object
java.lang.Enum<MetricDefinition.RetryResult>
org.eclipse.microprofile.fault.tolerance.tck.metrics.util.MetricDefinition.RetryResult
- All Implemented Interfaces:
Serializable
,Comparable<MetricDefinition.RetryResult>
,MetricDefinition.TagValue
- Enclosing class:
- MetricDefinition
public static enum MetricDefinition.RetryResult
extends Enum<MetricDefinition.RetryResult>
implements MetricDefinition.TagValue
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.microprofile.metrics.Tag
getTag()
static MetricDefinition.RetryResult
Returns the enum constant of this type with the specified name.static MetricDefinition.RetryResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VALUE_RETURNED
-
EXCEPTION_NOT_RETRYABLE
-
MAX_RETRIES_REACHED
-
MAX_DURATION_REACHED
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getTag
public org.eclipse.microprofile.metrics.Tag getTag()- Specified by:
getTag
in interfaceMetricDefinition.TagValue
-