Enum Class DeliverySemantics
- All Implemented Interfaces:
Serializable, Comparable<DeliverySemantics>, Constable
Declared delivery semantics for a submitted workload.
J7M exposes these values as metadata and policy input. The baseline scheduler provides in-memory best-effort execution only and does not provide durable exactly-once guarantees.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRetry only when the task is explicitly idempotent and policy permits it.Submit once and do not retry after ownership or execution failure. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeliverySemanticsReturns the enum constant of this class with the specified name.static DeliverySemantics[]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
Submit once and do not retry after ownership or execution failure. -
AT_LEAST_ONCE_IDEMPOTENT
Retry only when the task is explicitly idempotent and policy permits it.
-
-
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
-