@EnableConfigurationProperties(value=com.github.yingzhuo.carnival.redis.autoconfig.RedisSemaphoreAutoConfig.Props.class) @ConditionalOnProperty(prefix="carnival.redis.semaphore", name="enabled", havingValue="true", matchIfMissing=true) public class RedisSemaphoreAutoConfig extends Object
| 构造器和说明 |
|---|
RedisSemaphoreAutoConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
SemaphoreBean |
semaphoreBean(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory,
com.github.yingzhuo.carnival.redis.autoconfig.RedisSemaphoreAutoConfig.Props props) |
@Bean @ConditionalOnMissingBean public SemaphoreBean semaphoreBean(org.springframework.data.redis.connection.RedisConnectionFactory connectionFactory, com.github.yingzhuo.carnival.redis.autoconfig.RedisSemaphoreAutoConfig.Props props)
Copyright © 2020. All rights reserved.