Class CosIdSegmentStoreAutoConfiguration
java.lang.Object
me.ahoo.cosid.spring.boot.starter.store.CosIdSegmentStoreAutoConfiguration
@AutoConfiguration(after={CosIdJdbcSegmentAutoConfiguration.class,CosIdMongoSegmentAutoConfiguration.class,CosIdProxySegmentAutoConfiguration.class,CosIdSpringRedisSegmentAutoConfiguration.class,CosIdZookeeperSegmentAutoConfiguration.class})
@EnableConfigurationProperties(SegmentIdProperties.class)
public class CosIdSegmentStoreAutoConfiguration
extends Object
Creates the id segment distributor factory with the
CosIdStoreProvider of the configured store type, when no
built-in backend bean was created: the application selected a provider of its own, or no backend of the type is on
the classpath (then startup fails naming the type).- Since:
- 3.4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncosIdIdSegmentDistributorFactory(org.springframework.core.env.Environment environment, SegmentIdProperties segmentIdProperties, org.springframework.beans.factory.ObjectProvider<CosIdStoreProvider> providers)
-
Constructor Details
-
CosIdSegmentStoreAutoConfiguration
public CosIdSegmentStoreAutoConfiguration()
-
-
Method Details
-
cosIdIdSegmentDistributorFactory
@Bean @ConditionalOnMissingBean(IdSegmentDistributorFactory.class) public IdSegmentDistributorFactory cosIdIdSegmentDistributorFactory(org.springframework.core.env.Environment environment, SegmentIdProperties segmentIdProperties, org.springframework.beans.factory.ObjectProvider<CosIdStoreProvider> providers)
-