Class CosIdSnowflakeAutoConfiguration
java.lang.Object
me.ahoo.cosid.spring.boot.starter.snowflake.CosIdSnowflakeAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties(SnowflakeIdProperties.class)
public class CosIdSnowflakeAutoConfiguration
extends Object
CosId Snowflake AutoConfiguration.
-
Constructor Summary
ConstructorDescriptionCosIdSnowflakeAutoConfiguration
(CosIdProperties cosIdProperties, MachineProperties machineProperties, SnowflakeIdProperties snowflakeIdProperties) -
Method Summary
Modifier and TypeMethodDescriptionsnowflakeIdBeanRegistrar
(InstanceId instanceId, IdGeneratorProvider idGeneratorProvider, MachineIdDistributor machineIdDistributor, ClockBackwardsSynchronizer clockBackwardsSynchronizer, org.springframework.context.ConfigurableApplicationContext applicationContext, CustomizeSnowflakeIdProperties customizeSnowflakeIdProperties)
-
Constructor Details
-
CosIdSnowflakeAutoConfiguration
public CosIdSnowflakeAutoConfiguration(CosIdProperties cosIdProperties, MachineProperties machineProperties, SnowflakeIdProperties snowflakeIdProperties)
-
-
Method Details
-
snowflakeIdBeanRegistrar
@Bean public SnowflakeIdBeanRegistrar snowflakeIdBeanRegistrar(InstanceId instanceId, IdGeneratorProvider idGeneratorProvider, MachineIdDistributor machineIdDistributor, ClockBackwardsSynchronizer clockBackwardsSynchronizer, org.springframework.context.ConfigurableApplicationContext applicationContext, @Nullable CustomizeSnowflakeIdProperties customizeSnowflakeIdProperties)
-