Enum Class MessagingRejectedException.Reason
java.lang.Object
java.lang.Enum<MessagingRejectedException.Reason>
io.helidon.messaging.MessagingRejectedException.Reason
- All Implemented Interfaces:
Serializable, Comparable<MessagingRejectedException.Reason>, Constable
- Enclosing class:
MessagingRejectedException
public static enum MessagingRejectedException.Reason
extends Enum<MessagingRejectedException.Reason>
Admission rejection reason.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdmission was cancelled or interrupted.The delivery exceeds a configured message-count or connector-reservation limit.The bounded pending-admission capacity is exhausted, dispatcher contention prevents safely accounting a blocking waiter, or a nested synchronous delivery cannot run immediately without risking a capacity deadlock.The messaging runtime is shutting down.Capacity did not become available before the admission timeout. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MessagingRejectedException.Reason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TIMEOUT
Capacity did not become available before the admission timeout. -
SATURATED
The bounded pending-admission capacity is exhausted, dispatcher contention prevents safely accounting a blocking waiter, or a nested synchronous delivery cannot run immediately without risking a capacity deadlock. -
OVERSIZED
The delivery exceeds a configured message-count or connector-reservation limit. -
SHUTDOWN
The messaging runtime is shutting down. -
CANCELLED
Admission was cancelled or interrupted.
-
-
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
-