@Configuration @EnableConfigurationProperties(value=BootstrapCoreProperties.class) @ImportAutoConfiguration(value=cn.hippo4j.core.config.UtilAutoConfiguration.class) @ConditionalOnProperty(prefix="spring.dynamic.thread-pool", value="enable", matchIfMissing=true, havingValue="true") public class DynamicThreadPoolCoreAutoConfiguration extends Object
| 构造器和说明 |
|---|
DynamicThreadPoolCoreAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
cn.hippo4j.common.notify.AlarmControlHandler |
alarmControlHandler() |
ApolloRefresherHandler |
apolloRefresher(ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler,
BootstrapCoreProperties bootstrapCoreProperties) |
cn.hippo4j.common.notify.SendMessageHandler |
dingSendMessageHandler() |
DynamicThreadPoolPostProcessor |
dynamicThreadPoolPostProcessor(cn.hippo4j.common.config.ApplicationContextHolder hippo4JApplicationContextHolder) |
cn.hippo4j.common.config.ApplicationContextHolder |
hippo4JApplicationContextHolder() |
cn.hippo4j.common.notify.HippoSendMessageService |
hippoSendMessageService(cn.hippo4j.common.api.NotifyConfigBuilder notifyConfigBuilder,
cn.hippo4j.common.notify.AlarmControlHandler alarmControlHandler) |
cn.hippo4j.common.notify.SendMessageHandler |
larkSendMessageHandler() |
NacosCloudRefresherHandler |
nacosCloudRefresherHandler(ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler,
BootstrapCoreProperties bootstrapCoreProperties) |
NacosRefresherHandler |
nacosRefresherHandler(ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler,
BootstrapCoreProperties bootstrapCoreProperties) |
cn.hippo4j.common.api.NotifyConfigBuilder |
notifyConfigBuilder(cn.hippo4j.common.notify.AlarmControlHandler alarmControlHandler) |
ThreadPoolNotifyAlarmHandler |
threadPoolNotifyAlarmHandler(cn.hippo4j.common.notify.HippoSendMessageService hippoSendMessageService) |
cn.hippo4j.common.notify.SendMessageHandler |
weChatSendMessageHandler() |
@Bean @Order(value=-2147483648) public cn.hippo4j.common.config.ApplicationContextHolder hippo4JApplicationContextHolder()
@Bean public cn.hippo4j.common.notify.AlarmControlHandler alarmControlHandler()
@Bean public cn.hippo4j.common.api.NotifyConfigBuilder notifyConfigBuilder(cn.hippo4j.common.notify.AlarmControlHandler alarmControlHandler)
@Bean
public cn.hippo4j.common.notify.HippoSendMessageService hippoSendMessageService(cn.hippo4j.common.api.NotifyConfigBuilder notifyConfigBuilder,
cn.hippo4j.common.notify.AlarmControlHandler alarmControlHandler)
@Bean public ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler(cn.hippo4j.common.notify.HippoSendMessageService hippoSendMessageService)
@Bean public cn.hippo4j.common.notify.SendMessageHandler dingSendMessageHandler()
@Bean public cn.hippo4j.common.notify.SendMessageHandler larkSendMessageHandler()
@Bean public cn.hippo4j.common.notify.SendMessageHandler weChatSendMessageHandler()
@Bean public DynamicThreadPoolPostProcessor dynamicThreadPoolPostProcessor(cn.hippo4j.common.config.ApplicationContextHolder hippo4JApplicationContextHolder)
@Bean @ConditionalOnClass(name="com.alibaba.nacos.api.config") @ConditionalOnMissingClass(value="com.alibaba.cloud.nacos.NacosConfigManager") public NacosRefresherHandler nacosRefresherHandler(ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler, BootstrapCoreProperties bootstrapCoreProperties)
@Bean @ConditionalOnClass(name="com.alibaba.cloud.nacos.NacosConfigManager") public NacosCloudRefresherHandler nacosCloudRefresherHandler(ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler, BootstrapCoreProperties bootstrapCoreProperties)
@Bean @ConditionalOnClass(name="com.ctrip.framework.apollo.ConfigService") public ApolloRefresherHandler apolloRefresher(ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler, BootstrapCoreProperties bootstrapCoreProperties)
Copyright © 2022. All rights reserved.