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
/
RedisIdempotentStore
Redis
Idempotent
Store
class
RedisIdempotentStore
(
stringRedisTemplate
:
StringRedisTemplate
,
jsonMapper
:
JsonMapper
)
:
IdempotentStore
Redis implementation of
IdempotentStore
.
Members
Constructors
Redis
Idempotent
Store
Link copied to clipboard
constructor
(
stringRedisTemplate
:
StringRedisTemplate
,
jsonMapper
:
JsonMapper
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
acquire
Link copied to clipboard
open
override
fun
acquire
(
key
:
String
,
token
:
String
,
processingTtl
:
Duration
)
:
IdempotentStore.AcquireResult
complete
Link copied to clipboard
open
override
fun
complete
(
key
:
String
,
token
:
String
,
cachedValue
:
String
?
,
ttl
:
Duration
)
:
Boolean
release
Link copied to clipboard
open
override
fun
release
(
key
:
String
,
token
:
String
)
:
Boolean
renew
Link copied to clipboard
open
override
fun
renew
(
key
:
String
,
token
:
String
,
processingTtl
:
Duration
)
:
Boolean