Uses of Class
io.github.ravocode.avoonce.core.domain.IdempotencyRecord
Packages that use IdempotencyRecord
Package
Description
-
Uses of IdempotencyRecord in io.github.ravocode.avoonce.caffeine
Methods in io.github.ravocode.avoonce.caffeine that return types with arguments of type IdempotencyRecordModifier and TypeMethodDescriptionCaffeineIdempotencyRepository.acquireOrGet(String idempotencyKey) Delegates toCaffeineIdempotencyRepository.acquireOrGet(String, String)with anullhash, keeping all locking logic in one place.CaffeineIdempotencyRepository.acquireOrGet(String idempotencyKey, String requestHash) Atomically acquires a lock or returns an existing COMPLETED record.Retrieves the currentIdempotencyRecordfor the given key without modifying it. -
Uses of IdempotencyRecord in io.github.ravocode.avoonce.core.spi
Methods in io.github.ravocode.avoonce.core.spi that return types with arguments of type IdempotencyRecordModifier and TypeMethodDescriptionIdempotencyRepository.acquireOrGet(String idempotencyKey) Atomically attempts to save a new record with the state STARTED.default Optional<IdempotencyRecord> IdempotencyRepository.acquireOrGet(String idempotencyKey, String requestHash) Atomically attempts to save a new record with the state STARTED, verifying the request hash.Pure read-only check of the current record. -
Uses of IdempotencyRecord in io.github.ravocode.avoonce.jdbc
Methods in io.github.ravocode.avoonce.jdbc that return types with arguments of type IdempotencyRecordModifier and TypeMethodDescriptionJdbcIdempotencyRepository.acquireOrGet(String idempotencyKey) Delegates toJdbcIdempotencyRepository.acquireOrGet(String, String)with anullhash.JdbcIdempotencyRepository.acquireOrGet(String idempotencyKey, String requestHash) Atomically acquires a distributed lock or returns an existingCOMPLETEDrecord. -
Uses of IdempotencyRecord in io.github.ravocode.avoonce.redis
Methods in io.github.ravocode.avoonce.redis that return types with arguments of type IdempotencyRecordModifier and TypeMethodDescriptionRedisIdempotencyRepository.acquireOrGet(String idempotencyKey) Atomically attempts to save a new record with the state STARTED.RedisIdempotencyRepository.acquireOrGet(String idempotencyKey, String requestHash) Atomically attempts to save a new record with the state STARTED, verifying the request hash.Pure read-only check of the current record.