|
|
@ -20,6 +20,7 @@ import lombok.AllArgsConstructor;
|
|
|
|
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
|
|
|
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
@ -36,6 +37,7 @@ import org.springframework.core.annotation.Order;
|
|
|
|
@AllArgsConstructor
|
|
|
|
@AllArgsConstructor
|
|
|
|
@EnableConfigurationProperties(BootstrapCoreProperties.class)
|
|
|
|
@EnableConfigurationProperties(BootstrapCoreProperties.class)
|
|
|
|
@ImportAutoConfiguration({UtilAutoConfiguration.class})
|
|
|
|
@ImportAutoConfiguration({UtilAutoConfiguration.class})
|
|
|
|
|
|
|
|
@ConditionalOnProperty(prefix = BootstrapCoreProperties.PREFIX, value = "enable", matchIfMissing = true, havingValue = "true")
|
|
|
|
public class DynamicThreadPoolCoreAutoConfiguration {
|
|
|
|
public class DynamicThreadPoolCoreAutoConfiguration {
|
|
|
|
|
|
|
|
|
|
|
|
private final BootstrapCoreProperties bootstrapCoreProperties;
|
|
|
|
private final BootstrapCoreProperties bootstrapCoreProperties;
|
|
|
|