Enum Class IdempotencyException.IdempotencyConflict

java.lang.Object
java.lang.Enum<IdempotencyException.IdempotencyConflict>
com.tnsai.idempotency.IdempotencyException.IdempotencyConflict
All Implemented Interfaces:
Serializable, Comparable<IdempotencyException.IdempotencyConflict>, Constable
Enclosing class:
IdempotencyException

public static enum IdempotencyException.IdempotencyConflict extends Enum<IdempotencyException.IdempotencyConflict>
Why the idempotency-protected call could not be resolved. Each value implies a different operator-facing posture: FAIL_FAST_HIT is "your application already tried this"; KEY_COLLISION_DIFFERENT_INPUT is "two distinct calls hashed to the same key" (astronomically unlikely with SHA-256 but guarded against because the cost of allowing it through is silently returning the wrong cached result); STORE_UNAVAILABLE is an infrastructure failure — caller decides fail-open (run anyway, lose dedup) or fail-closed (refuse to risk a duplicate side-effect).