Class CosIdSpringRedisMachineIdDistributorAutoConfiguration
java.lang.Object
me.ahoo.cosid.spring.boot.starter.machine.CosIdSpringRedisMachineIdDistributorAutoConfiguration
@AutoConfiguration
@ConditionalOnProperty(value="cosid.machine.distributor.type",
havingValue="redis")
@ConditionalOnClass(SpringRedisMachineIdDistributor.class)
public class CosIdSpringRedisMachineIdDistributorAutoConfiguration
extends Object
CosId Spring Redis MachineIdDistributor AutoConfiguration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionspringRedisMachineIdDistributor
(org.springframework.data.redis.core.StringRedisTemplate redisTemplate, MachineStateStorage localMachineState, ClockBackwardsSynchronizer clockBackwardsSynchronizer)
-
Constructor Details
-
CosIdSpringRedisMachineIdDistributorAutoConfiguration
public CosIdSpringRedisMachineIdDistributorAutoConfiguration()
-
-
Method Details
-
springRedisMachineIdDistributor
@Bean @ConditionalOnMissingBean public SpringRedisMachineIdDistributor springRedisMachineIdDistributor(org.springframework.data.redis.core.StringRedisTemplate redisTemplate, MachineStateStorage localMachineState, ClockBackwardsSynchronizer clockBackwardsSynchronizer)
-