Class CosIdSegmentAutoConfiguration
java.lang.Object
me.ahoo.cosid.spring.boot.starter.segment.CosIdSegmentAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties(SegmentIdProperties.class)
public class CosIdSegmentAutoConfiguration
extends Object
CosId Segment AutoConfiguration.
- 
Constructor Summary
ConstructorsConstructorDescriptionCosIdSegmentAutoConfiguration(CosIdProperties cosIdProperties, SegmentIdProperties segmentIdProperties)  - 
Method Summary
Modifier and TypeMethodDescriptionlifecycleSegmentChainId(PrefetchWorkerExecutorService prefetchWorkerExecutorService) segmentIdBeanRegistrar(IdSegmentDistributorFactory distributorFactory, IdGeneratorProvider idGeneratorProvider, PrefetchWorkerExecutorService prefetchWorkerExecutorService, org.springframework.context.ConfigurableApplicationContext applicationContext, CustomizeSegmentIdProperties customizeSegmentIdProperties)  
- 
Constructor Details
- 
CosIdSegmentAutoConfiguration
public CosIdSegmentAutoConfiguration(CosIdProperties cosIdProperties, SegmentIdProperties segmentIdProperties)  
 - 
 - 
Method Details
- 
prefetchWorkerExecutorService
@Bean @ConditionalOnMissingBean public PrefetchWorkerExecutorService prefetchWorkerExecutorService() - 
lifecycleSegmentChainId
@Bean @ConditionalOnMissingBean public CosIdLifecyclePrefetchWorkerExecutorService lifecycleSegmentChainId(PrefetchWorkerExecutorService prefetchWorkerExecutorService)  - 
segmentIdBeanRegistrar
@Bean public SegmentIdBeanRegistrar segmentIdBeanRegistrar(IdSegmentDistributorFactory distributorFactory, IdGeneratorProvider idGeneratorProvider, PrefetchWorkerExecutorService prefetchWorkerExecutorService, org.springframework.context.ConfigurableApplicationContext applicationContext, @Nullable CustomizeSegmentIdProperties customizeSegmentIdProperties)  
 -