Enum Class McpMetricsEvent.SubscriptionMaintenance.Outcome
java.lang.Object
java.lang.Enum<McpMetricsEvent.SubscriptionMaintenance.Outcome>
com.soklet.McpMetricsEvent.SubscriptionMaintenance.Outcome
- All Implemented Interfaces:
Serializable, Comparable<McpMetricsEvent.SubscriptionMaintenance.Outcome>, Constable
- Enclosing class:
McpMetricsEvent.SubscriptionMaintenance
public static enum McpMetricsEvent.SubscriptionMaintenance.Outcome
extends Enum<McpMetricsEvent.SubscriptionMaintenance.Outcome>
Bounded subscription-maintenance outcomes.
This type may gain reviewed constants in Soklet 4.x; use a forward-compatible default when switching over its values.
- Author:
- Mark Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBounded execution capacity rejected the work.An equivalent pending generation already represented the work.Authorization was denied.The maintenance work failed.A superseded maintenance result was discarded.The maintenance work completed successfully.The queue-inclusive maintenance deadline elapsed. -
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.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SUCCEEDED
The maintenance work completed successfully. -
DENIED
Authorization was denied. -
TIMED_OUT
The queue-inclusive maintenance deadline elapsed. -
CAPACITY_REJECTED
Bounded execution capacity rejected the work. -
FAILED
The maintenance work failed. -
COALESCED
An equivalent pending generation already represented the work. -
STALE_RESULT_DISCARDED
A superseded maintenance result was discarded.
-
-
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
-