Annotation Type IdempotencyKey
@IdempotencyKey is used to signal that a method parameter is used as a key for idempotency.
Must be used in conjunction with the @Idempotency annotation.
Example:
Must be used in conjunction with the @Idempotency annotation.
Example:
@Idempotent
private MyObject subMethod(String param1, @IdempotencyKey String param2) {
// ...
return something;
}
Note: This annotation is not needed when the method only has one parameter.