Enum IdempotencyStore.ClaimResult

java.lang.Object
java.lang.Enum<IdempotencyStore.ClaimResult>
org.acemq.amqp.api.IdempotencyStore.ClaimResult
All Implemented Interfaces:
Serializable, Comparable<IdempotencyStore.ClaimResult>
Enclosing interface:
IdempotencyStore

public static enum IdempotencyStore.ClaimResult extends Enum<IdempotencyStore.ClaimResult>
  • Enum Constant Details

    • CLAIMED

      public static final IdempotencyStore.ClaimResult CLAIMED
      The caller owns the identifier and should do the work.
    • ALREADY_CONFIRMED

      public static final IdempotencyStore.ClaimResult ALREADY_CONFIRMED
      The work is done; the delivery is a duplicate and may be acknowledged.
    • IN_PROGRESS

      public static final IdempotencyStore.ClaimResult IN_PROGRESS
      Someone holds a live claim and has not confirmed it. The delivery must be neither handled nor acknowledged, but tried again later.
  • Method Details

    • values

      public static IdempotencyStore.ClaimResult[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static IdempotencyStore.ClaimResult valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null