@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={cn.hippo4j.springboot.starter.adapter.web.WebAdapterConfiguration.class,NettyClientConfiguration.class,DiscoveryConfiguration.class,cn.hippo4j.message.config.MessageConfiguration.class,cn.hippo4j.core.config.UtilAutoConfiguration.class}) public class DynamicThreadPoolAutoConfiguration extends Object
| 构造器和说明 |
|---|
DynamicThreadPoolAutoConfiguration() |
@Bean public DynamicThreadPoolBannerHandler threadPoolBannerHandler()
@Bean @ConditionalOnMissingBean @Order(value=-2147483648) public ApplicationContextHolder hippo4JApplicationContextHolder()
@Bean public ClientWorker hippo4jClientWorker(HttpAgent httpAgent, InetUtils hippo4JInetUtils, ServerHealthCheck serverHealthCheck)
@Bean public DynamicThreadPoolService dynamicThreadPoolConfigService(HttpAgent httpAgent, ServerHealthCheck serverHealthCheck, ServerNotifyConfigBuilder notifyConfigBuilder, Hippo4jBaseSendMessageService hippo4jBaseSendMessageService, DynamicThreadPoolSubscribeConfig dynamicThreadPoolSubscribeConfig)
@Bean public DynamicThreadPoolPostProcessor threadPoolBeanPostProcessor(HttpAgent httpAgent, ApplicationContextHolder hippo4JApplicationContextHolder, DynamicThreadPoolSubscribeConfig dynamicThreadPoolSubscribeConfig)
@Bean @ConditionalOnMissingBean(value=cn.hippo4j.common.api.ThreadDetailState.class) public ThreadDetailState baseThreadDetailStateHandler()
@Bean public WebThreadPoolRunStateController poolRunStateController(ThreadPoolRunStateHandler threadPoolRunStateHandler, ThreadDetailState threadDetailState)
@Bean @ConditionalOnMissingBean public MessageSender messageSender(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(cn.hippo4j.adapter.web.WebThreadPoolHandlerChoose webThreadPoolServiceChoose)
@Bean public ThreadPoolAdapterRegister threadPoolAdapterRegister(HttpAgent httpAgent, InetUtils hippo4JInetUtils)
@Bean public NotifyConfigBuilder serverNotifyConfigBuilder(HttpAgent httpAgent, BootstrapProperties properties, AlarmControlHandler alarmControlHandler)
@Bean @ConditionalOnMissingBean public ThreadPoolCheckAlarm defaultThreadPoolCheckAlarmHandler(Hippo4jSendMessageService hippo4jSendMessageService)
@Bean @ConditionalOnMissingBean public ThreadPoolConfigChange defaultThreadPoolConfigChangeHandler(Hippo4jSendMessageService hippo4jSendMessageService)
@Bean public ThreadPoolDynamicRefresh threadPoolDynamicRefresh(ThreadPoolConfigChange threadPoolConfigChange)
@Bean public DynamicThreadPoolSubscribeConfig dynamicThreadPoolSubscribeConfig(ThreadPoolDynamicRefresh threadPoolDynamicRefresh, ClientWorker clientWorker)
@Bean public HttpAgent httpAgent(BootstrapProperties properties)
@Bean public ThreadPoolPluginRegisterPostProcessor threadPoolPluginRegisterPostProcessor()
Copyright © 2023. All rights reserved.