Package org.acemq.amqp.api
Enum IdempotencyStore.ClaimResult
- All Implemented Interfaces:
Serializable,Comparable<IdempotencyStore.ClaimResult>
- Enclosing interface:
IdempotencyStore
What
IdempotencyStore.tryClaim(java.lang.String) found.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe work is done; the delivery is a duplicate and may be acknowledged.The caller owns the identifier and should do the work.Someone holds a live claim and has not confirmed it. -
Method Summary
Modifier and TypeMethodDescriptionstatic IdempotencyStore.ClaimResultReturns the enum constant of this type with the specified name.static IdempotencyStore.ClaimResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLAIMED
The caller owns the identifier and should do the work. -
ALREADY_CONFIRMED
The work is done; the delivery is a duplicate and may be acknowledged. -
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
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
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 nameNullPointerException- if the argument is null
-