Enum Class DeliverySemantics

java.lang.Object
java.lang.Enum<DeliverySemantics>
org.j7m.middleware.workload.api.DeliverySemantics
All Implemented Interfaces:
Serializable, Comparable<DeliverySemantics>, Constable

public enum DeliverySemantics extends Enum<DeliverySemantics>
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.

  • Enum Constant Details

    • AT_MOST_ONCE_BEST_EFFORT

      public static final DeliverySemantics AT_MOST_ONCE_BEST_EFFORT
      Submit once and do not retry after ownership or execution failure.
    • AT_LEAST_ONCE_IDEMPOTENT

      public static final DeliverySemantics AT_LEAST_ONCE_IDEMPOTENT
      Retry only when the task is explicitly idempotent and policy permits it.
  • Method Details

    • values

      public static DeliverySemantics[] 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

      public static DeliverySemantics valueOf(String name)
      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 name
      NullPointerException - if the argument is null