@Configuration @ConditionalOnBean(value=cn.hippo4j.core.enable.MarkerConfiguration.Marker.class) @EnableConfigurationProperties(value=BootstrapProperties.class) @ConditionalOnProperty(prefix="spring.dynamic.thread-pool", value="enable", matchIfMissing=true, havingValue="true") @ImportAutoConfiguration(value={HttpClientConfiguration.class,DiscoveryConfiguration.class,MessageNotifyConfiguration.class,cn.hippo4j.core.config.UtilAutoConfiguration.class,cn.hippo4j.core.config.WebThreadPoolConfiguration.class}) public class DynamicThreadPoolAutoConfiguration extends Object
| 构造器和说明 |
|---|
DynamicThreadPoolAutoConfiguration() |
@Bean public DynamicThreadPoolBannerHandler threadPoolBannerHandler()
@Bean @ConditionalOnMissingBean @Order(value=-2147483648) public ApplicationContextHolder hippo4JApplicationContextHolder()
@Bean public ConfigService configService(HttpAgent httpAgent, InetUtils hippo4JInetUtils, ServerHealthCheck serverHealthCheck)
@Bean public ThreadPoolOperation threadPoolOperation(ConfigService configService)
@Bean public DynamicThreadPoolPostProcessor threadPoolBeanPostProcessor(HttpAgent httpAgent, ThreadPoolOperation threadPoolOperation, ApplicationContextHolder hippo4JApplicationContextHolder, ServerThreadPoolDynamicRefresh threadPoolDynamicRefresh)
@Bean @ConditionalOnMissingBean(value=cn.hippo4j.common.api.ThreadDetailState.class) public ThreadDetailState baseThreadDetailStateHandler()
@Bean public WebThreadPoolRunStateController poolRunStateController(ThreadPoolRunStateHandler threadPoolRunStateHandler, ThreadDetailState threadDetailState)
@Bean public HttpConnectSender httpMvcSender(HttpAgent httpAgent)
@Bean public ReportingEventExecutor reportingEventExecutor(BootstrapProperties properties, MessageSender messageSender, ServerHealthCheck serverHealthCheck)
@Bean public ServerHealthCheck httpScheduledHealthCheck(HttpAgent httpAgent)
@Bean public RunTimeInfoCollector runTimeInfoCollector()
@Bean public ThreadPoolAdapterController threadPoolAdapterController(InetUtils hippo4JInetUtils)
@Bean public ThreadPoolAdapterBeanContainer threadPoolAdapterBeanContainer()
@Bean public ApplicationContentPostProcessor applicationContentPostProcessor()
@Bean public WebThreadPoolController webThreadPoolController(WebThreadPoolHandlerChoose webThreadPoolServiceChoose)
@Bean public ThreadPoolAdapterRegister threadPoolAdapterRegister(HttpAgent httpAgent, InetUtils hippo4JInetUtils)
Copyright © 2022. All rights reserved.