@Configuration
@Import(value={cn.hippo4j.springboot.starter.adapter.web.WebThreadPoolHandlerConfiguration.EmbeddedTomcat.class,cn.hippo4j.springboot.starter.adapter.web.WebThreadPoolHandlerConfiguration.EmbeddedJetty.class,cn.hippo4j.springboot.starter.adapter.web.WebThreadPoolHandlerConfiguration.EmbeddedUndertow.class})
public class WebAdapterConfiguration
extends Object
| 构造器和说明 |
|---|
WebAdapterConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
cn.hippo4j.common.config.ApplicationContextHolder |
simpleApplicationContextHolder() |
cn.hippo4j.core.executor.state.ThreadPoolRunStateHandler |
threadPoolRunStateHandler(cn.hippo4j.core.toolkit.inet.InetUtils hippo4jInetUtils) |
WebThreadPoolRunStateHandler |
webThreadPoolRunStateHandler() |
WebThreadPoolHandlerChoose |
webThreadPoolServiceChoose() |
@Bean @ConditionalOnMissingBean public cn.hippo4j.common.config.ApplicationContextHolder simpleApplicationContextHolder()
@Bean public WebThreadPoolRunStateHandler webThreadPoolRunStateHandler()
@Bean public cn.hippo4j.core.executor.state.ThreadPoolRunStateHandler threadPoolRunStateHandler(cn.hippo4j.core.toolkit.inet.InetUtils hippo4jInetUtils)
@Bean public WebThreadPoolHandlerChoose webThreadPoolServiceChoose()
Copyright © 2023. All rights reserved.