Enum Class DeliveryMode
- All Implemented Interfaces:
Serializable, Comparable<DeliveryMode>, Constable
Transport-neutral delivery mode requested for one invocation.
The enum is immutable and thread-safe. It describes middleware retry and duplicate-handling semantics only; it does not claim business side-effect consistency.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRetry may be attempted only when the operation is retry-safe.Send once and report the observed outcome without middleware retry.Effectively-once pattern metadata is present, but applications own side effects.Generic exactly-once distributed execution was requested and is unsupported. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeliveryModeReturns the enum constant of this class with the specified name.static DeliveryMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AT_MOST_ONCE_BEST_EFFORT
Send once and report the observed outcome without middleware retry. -
AT_LEAST_ONCE_RETRYABLE
Retry may be attempted only when the operation is retry-safe. -
EFFECTIVELY_ONCE_PATTERN
Effectively-once pattern metadata is present, but applications own side effects. -
UNSUPPORTED_EXACTLY_ONCE
Generic exactly-once distributed execution was requested and is unsupported.
-
-
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
-