@Configuration @ConditionalOnClass(value=SnowflakeIdWorker.class) @EnableConfigurationProperties(value=SnowflakeIdWorkerProperties.class) public class SnowflakeIdWorkerAutoConfigure extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private SnowflakeIdWorkerProperties |
snowflakeIdWorkerProperties |
| 构造器和说明 |
|---|
SnowflakeIdWorkerAutoConfigure() |
@Autowired private SnowflakeIdWorkerProperties snowflakeIdWorkerProperties
@Bean @ConditionalOnMissingBean SnowflakeIdWorker snowflakeIdWorker()
Copyright © 2019. All rights reserved.