Idempotent

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Idempotent(val key: String = "", val prefix: String = "", val duplicateStrategy: DuplicateStrategy = DuplicateStrategy.REJECT)

Marks a method as idempotent.

The key must be a SpEL expression resolved against the method arguments.

Properties

Link copied to clipboard
Link copied to clipboard
val key: String
Link copied to clipboard