IdempotentStore

interface IdempotentStore

Persists idempotent execution state.

Inheritors

Types

Link copied to clipboard
sealed interface AcquireResult

Functions

Link copied to clipboard
abstract fun acquire(key: String, token: String, processingTtl: Duration): IdempotentStore.AcquireResult
Link copied to clipboard
abstract fun complete(key: String, token: String, cachedValue: String?, ttl: Duration): Boolean
Link copied to clipboard
abstract fun release(key: String, token: String): Boolean
Link copied to clipboard
abstract fun renew(key: String, token: String, processingTtl: Duration): Boolean