Class CosIdJdbcMachineIdDistributorAutoConfiguration
java.lang.Object
me.ahoo.cosid.spring.boot.starter.machine.CosIdJdbcMachineIdDistributorAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(JdbcMachineIdDistributor.class)
@ConditionalOnProperty(value="cosid.machine.distributor.type",
havingValue="jdbc")
public class CosIdJdbcMachineIdDistributorAutoConfiguration
extends Object
CosId Jdbc MachineIdDistributor AutoConfiguration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjdbcMachineIdDistributor
(DataSource dataSource, MachineStateStorage localMachineState, ClockBackwardsSynchronizer clockBackwardsSynchronizer)
-
Constructor Details
-
CosIdJdbcMachineIdDistributorAutoConfiguration
public CosIdJdbcMachineIdDistributorAutoConfiguration()
-
-
Method Details
-
jdbcMachineIdDistributor
@Bean @ConditionalOnMissingBean public JdbcMachineIdDistributor jdbcMachineIdDistributor(DataSource dataSource, MachineStateStorage localMachineState, ClockBackwardsSynchronizer clockBackwardsSynchronizer)
-