avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-idempotent-spring-boot-starter
/
io.github.lishangbu.avalon.idempotent.store
/
IdempotentStore
Idempotent
Store
interface
IdempotentStore
Persists idempotent execution state.
Inheritors
JdbcIdempotentStore
RedisIdempotentStore
Members
Types
Acquire
Result
Link copied to clipboard
sealed
interface
AcquireResult
Functions
acquire
Link copied to clipboard
abstract
fun
acquire
(
key
:
String
,
token
:
String
,
processingTtl
:
Duration
)
:
IdempotentStore.AcquireResult
complete
Link copied to clipboard
abstract
fun
complete
(
key
:
String
,
token
:
String
,
cachedValue
:
String
?
,
ttl
:
Duration
)
:
Boolean
release
Link copied to clipboard
abstract
fun
release
(
key
:
String
,
token
:
String
)
:
Boolean
renew
Link copied to clipboard
abstract
fun
renew
(
key
:
String
,
token
:
String
,
processingTtl
:
Duration
)
:
Boolean