Class CosIdZookeeperMachineIdDistributorAutoConfiguration
java.lang.Object
me.ahoo.cosid.spring.boot.starter.machine.CosIdZookeeperMachineIdDistributorAutoConfiguration
@AutoConfiguration
@ConditionalOnProperty(value="cosid.machine.distributor.type",
havingValue="zookeeper")
@ConditionalOnClass(ZookeeperMachineIdDistributor.class)
public class CosIdZookeeperMachineIdDistributorAutoConfiguration
extends Object
CosId Zookeeper MachineIdDistributor AutoConfiguration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionzookeeperMachineIdDistributor
(org.apache.curator.framework.CuratorFramework curatorFramework, org.apache.curator.RetryPolicy retryPolicy, MachineStateStorage localMachineState, ClockBackwardsSynchronizer clockBackwardsSynchronizer)
-
Constructor Details
-
CosIdZookeeperMachineIdDistributorAutoConfiguration
public CosIdZookeeperMachineIdDistributorAutoConfiguration()
-
-
Method Details
-
zookeeperMachineIdDistributor
@Bean @ConditionalOnMissingBean public ZookeeperMachineIdDistributor zookeeperMachineIdDistributor(org.apache.curator.framework.CuratorFramework curatorFramework, org.apache.curator.RetryPolicy retryPolicy, MachineStateStorage localMachineState, ClockBackwardsSynchronizer clockBackwardsSynchronizer)
-