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.autoconfigure
/
IdempotentAutoConfiguration
/
idempotentStore
idempotent
Store
@
Bean
@
ConditionalOnBean
(
value
=
[
StringRedisTemplate::class
]
)
@
ConditionalOnMissingBean
(
value
=
[
IdempotentStore::class
]
)
@
ConditionalOnProperty
(
prefix
=
"idempotent"
,
name
=
[
"store-type"
]
,
havingValue
=
"REDIS"
,
matchIfMissing
=
true
)
fun
idempotentStore
(
stringRedisTemplate
:
StringRedisTemplate
,
jsonMapper
:
JsonMapper
)
:
IdempotentStore