@Configuration @AutoConfigureAfter(value=CacheAutoConfiguration.class) @EnableConfigurationProperties(value=SnowflakeProperties.class) public class SnowflakeAutoConfiguration extends Object
| 构造器和说明 |
|---|
SnowflakeAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
SnowflakeIdGenerator |
snowflakeIdGenerator(SnowflakeProperties snowflakeProperties) |
@Bean @ConditionalOnBean(value=CacheService.class) public SnowflakeIdGenerator snowflakeIdGenerator(SnowflakeProperties snowflakeProperties)
Copyright © 2020. All rights reserved.