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