@Configuration
@AutoConfigureAfter(value=org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration.class)
public class IdempotentAutoConfiguration
extends java.lang.Object
构造器和说明 |
---|
IdempotentAutoConfiguration() |
限定符和类型 | 方法和说明 |
---|---|
AspectIdempotent |
idempotentAspect()
切面 拦截处理所有 @Idempotent
|
KeyResolver |
keyResolver()
key 解析器
|
@Bean public AspectIdempotent idempotentAspect()
@Bean @ConditionalOnMissingBean(value=KeyResolver.class) public KeyResolver keyResolver()