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 Details

    • CosIdProxySegmentAutoConfiguration

      public CosIdProxySegmentAutoConfiguration(CosIdProperties cosIdProperties)
  • Method Details

    • okHttpClient

      @Bean @ConditionalOnMissingBean public okhttp3.OkHttpClient okHttpClient()
    • idSegmentDistributorFactory

      @Bean @ConditionalOnMissingBean public IdSegmentDistributorFactory idSegmentDistributorFactory(okhttp3.OkHttpClient httpClient)