Uses of Class
io.github.ravocode.avoonce.core.domain.IdempotencyResponse
Packages that use IdempotencyResponse
Package
Description
-
Uses of IdempotencyResponse in io.github.ravocode.avoonce.caffeine
Methods in io.github.ravocode.avoonce.caffeine with parameters of type IdempotencyResponseModifier and TypeMethodDescriptionvoidCaffeineIdempotencyRepository.saveSuccess(String idempotencyKey, IdempotencyResponse response) Transitions the record for the given key toIdempotencyStatus.COMPLETEDand stores the response. -
Uses of IdempotencyResponse in io.github.ravocode.avoonce.core
Methods in io.github.ravocode.avoonce.core that return IdempotencyResponseModifier and TypeMethodDescriptionIdempotencyManager.execute(String idempotencyKey, byte[] requestBody, Callable<IdempotencyResponse> action) Executes the given action idempotently, hashing the rawrequestBodyusing the configuredRequestHasherto detect key reuse with a different payload.IdempotencyManager.execute(String idempotencyKey, String requestHash, Callable<IdempotencyResponse> action) Executes the given action idempotently using a caller-supplied pre-computed hash string.IdempotencyManager.execute(String idempotencyKey, Callable<IdempotencyResponse> action) Executes the given action idempotently based on the provided key alone.Method parameters in io.github.ravocode.avoonce.core with type arguments of type IdempotencyResponseModifier and TypeMethodDescriptionIdempotencyManager.execute(String idempotencyKey, byte[] requestBody, Callable<IdempotencyResponse> action) Executes the given action idempotently, hashing the rawrequestBodyusing the configuredRequestHasherto detect key reuse with a different payload.IdempotencyManager.execute(String idempotencyKey, String requestHash, Callable<IdempotencyResponse> action) Executes the given action idempotently using a caller-supplied pre-computed hash string.IdempotencyManager.execute(String idempotencyKey, Callable<IdempotencyResponse> action) Executes the given action idempotently based on the provided key alone. -
Uses of IdempotencyResponse in io.github.ravocode.avoonce.core.domain
Methods in io.github.ravocode.avoonce.core.domain that return IdempotencyResponseModifier and TypeMethodDescriptionIdempotencyRecord.getResponse()Returns the cached HTTP response for replay, ornullif the request has not completed successfully.Constructors in io.github.ravocode.avoonce.core.domain with parameters of type IdempotencyResponseModifierConstructorDescriptionIdempotencyRecord(String idempotencyKey, IdempotencyStatus status, IdempotencyResponse response, Long expiresAt) Constructs anIdempotencyRecordwithout a request hash (hash validation disabled).IdempotencyRecord(String idempotencyKey, IdempotencyStatus status, IdempotencyResponse response, Long expiresAt, String requestHash) Constructs anIdempotencyRecordwith full fields including a request hash. -
Uses of IdempotencyResponse in io.github.ravocode.avoonce.core.spi
Methods in io.github.ravocode.avoonce.core.spi with parameters of type IdempotencyResponseModifier and TypeMethodDescriptionvoidIdempotencyRepository.saveSuccess(String idempotencyKey, IdempotencyResponse response) Updates an existing record with a successful payload and sets the state to COMPLETED. -
Uses of IdempotencyResponse in io.github.ravocode.avoonce.jdbc
Methods in io.github.ravocode.avoonce.jdbc with parameters of type IdempotencyResponseModifier and TypeMethodDescriptionvoidJdbcIdempotencyRepository.saveSuccess(String idempotencyKey, IdempotencyResponse response) -
Uses of IdempotencyResponse in io.github.ravocode.avoonce.redis
Methods in io.github.ravocode.avoonce.redis with parameters of type IdempotencyResponseModifier and TypeMethodDescriptionvoidRedisIdempotencyRepository.saveSuccess(String idempotencyKey, IdempotencyResponse response) Updates an existing record with a successful payload and sets the state to COMPLETED.