Enum Class ReliabilityStatus

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

public enum ReliabilityStatus extends Enum<ReliabilityStatus>
Stable status for reliability policy decisions.

The enum is immutable and thread-safe.

  • Enum Constant Details

    • ACCEPTED

      public static final ReliabilityStatus ACCEPTED
      The operation is accepted as first-seen or policy-compliant.
    • RETRY_SAFE

      public static final ReliabilityStatus RETRY_SAFE
      The operation is retry-safe.
    • NOT_RETRY_SAFE

      public static final ReliabilityStatus NOT_RETRY_SAFE
      The operation is not retry-safe.
    • DUPLICATE_MARKED

      public static final ReliabilityStatus DUPLICATE_MARKED
      A duplicate was observed and accepted with a marker.
    • DUPLICATE_REJECTED

      public static final ReliabilityStatus DUPLICATE_REJECTED
      A duplicate was rejected.
    • PREVIOUS_RESULT_AVAILABLE

      public static final ReliabilityStatus PREVIOUS_RESULT_AVAILABLE
      A previous result is available for the duplicate key.
    • STALE_FENCING_TOKEN

      public static final ReliabilityStatus STALE_FENCING_TOKEN
      A fencing token was stale.
    • FENCING_SCOPE_MISMATCH

      public static final ReliabilityStatus FENCING_SCOPE_MISMATCH
      A fencing token authority or scope did not match.
    • UNSUPPORTED_EXACTLY_ONCE

      public static final ReliabilityStatus UNSUPPORTED_EXACTLY_ONCE
      Generic exactly-once execution is unsupported.
    • LIMIT_EXCEEDED

      public static final ReliabilityStatus LIMIT_EXCEEDED
      A configured payload or result limit was exceeded.
    • BACKPRESSURE_APPLIED

      public static final ReliabilityStatus BACKPRESSURE_APPLIED
      Backpressure rejected or delayed the operation.
    • CANCELLED

      public static final ReliabilityStatus CANCELLED
      The invocation was cancelled.
    • DEADLINE_EXCEEDED

      public static final ReliabilityStatus DEADLINE_EXCEEDED
      The invocation deadline was exceeded.
  • Method Details

    • values

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