Uses of Record Class
com.tnsai.idempotency.IdempotencyEntry
Packages that use IdempotencyEntry
-
Uses of IdempotencyEntry in com.tnsai.idempotency
Methods in com.tnsai.idempotency that return IdempotencyEntryModifier and TypeMethodDescriptionstatic IdempotencyEntryIdempotencyEntry.forFailure(Throwable t, String firstAttemptId) Build a failure entry.static IdempotencyEntryIdempotencyEntry.forSuccess(Object result, String firstAttemptId) Build a success entry.Methods in com.tnsai.idempotency that return types with arguments of type IdempotencyEntryModifier and TypeMethodDescriptionLook up a cached entry.Methods in com.tnsai.idempotency with parameters of type IdempotencyEntryModifier and TypeMethodDescriptionvoidIdempotencyStore.put(String key, IdempotencyEntry entry, Duration ttl) Store an entry underkeywith the given TTL.voidInMemoryIdempotencyStore.put(String key, IdempotencyEntry entry, Duration ttl) voidPostgresIdempotencyStore.put(String key, IdempotencyEntry entry, Duration ttl) voidRedisIdempotencyStore.put(String key, IdempotencyEntry entry, Duration ttl)