Class CosIdProxySegmentAutoConfiguration
java.lang.Object
me.ahoo.cosid.spring.boot.starter.segment.CosIdProxySegmentAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties(SegmentIdProperties.class)
@ConditionalOnProperty(value="cosid.segment.distributor.type",
matchIfMissing=true,
havingValue="proxy")
public class CosIdProxySegmentAutoConfiguration
extends Object
CosId Jdbc Segment AutoConfiguration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidSegmentDistributorFactory
(okhttp3.OkHttpClient httpClient) okhttp3.OkHttpClient
-
Constructor Details
-
CosIdProxySegmentAutoConfiguration
-
-
Method Details
-
okHttpClient
@Bean @ConditionalOnMissingBean public okhttp3.OkHttpClient okHttpClient() -
idSegmentDistributorFactory
@Bean @ConditionalOnMissingBean public IdSegmentDistributorFactory idSegmentDistributorFactory(okhttp3.OkHttpClient httpClient)
-