Class CosIdMongoMachineIdDistributorAutoConfiguration
java.lang.Object
me.ahoo.cosid.spring.boot.starter.machine.CosIdMongoMachineIdDistributorAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(MongoMachineIdDistributor.class)
@ConditionalOnProperty(value="cosid.machine.distributor.type",
havingValue="mongo")
@AutoConfigureAfter({org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration.class,org.springframework.boot.autoconfigure.mongo.MongoReactiveAutoConfiguration.class})
public class CosIdMongoMachineIdDistributorAutoConfiguration
extends Object
CosId Mongo MachineIdDistributor AutoConfiguration.
-
Constructor Summary
ConstructorDescriptionCosIdMongoMachineIdDistributorAutoConfiguration
(MachineProperties machineProperties) -
Method Summary
Modifier and TypeMethodDescriptionmongoMachineIdDistributor
(MachineCollection machineCollection, MachineStateStorage localMachineState, ClockBackwardsSynchronizer clockBackwardsSynchronizer)
-
Constructor Details
-
CosIdMongoMachineIdDistributorAutoConfiguration
-
-
Method Details
-
mongoMachineIdDistributor
@Bean @ConditionalOnMissingBean public MongoMachineIdDistributor mongoMachineIdDistributor(MachineCollection machineCollection, MachineStateStorage localMachineState, ClockBackwardsSynchronizer clockBackwardsSynchronizer)
-