@Configuration @ConditionalOnBean(value=cn.hippo4j.core.enable.MarkerConfiguration.Marker.class) @EnableConfigurationProperties(value=BootstrapCoreProperties.class) @ImportAutoConfiguration(value={cn.hippo4j.core.config.UtilAutoConfiguration.class,cn.hippo4j.core.config.WebThreadPoolConfiguration.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) |
cn.hippo4j.common.notify.SendMessageHandler |
dingSendMessageHandler() |
DynamicThreadPoolPostProcessor |
dynamicThreadPoolPostProcessor(cn.hippo4j.common.config.ApplicationContextHolder hippo4JApplicationContextHolder) |
cn.hippo4j.common.config.ApplicationContextHolder |
hippo4JApplicationContextHolder() |
DynamicThreadPoolMonitorExecutor |
hippo4jDynamicThreadPoolMonitorExecutor() |
LogMonitorHandler |
hippo4jLogMonitorHandler(ThreadPoolRunStateHandler threadPoolRunStateHandler) |
MetricMonitorHandler |
hippo4jMetricMonitorHandler(ThreadPoolRunStateHandler threadPoolRunStateHandler) |
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) |
NacosRefresherHandler |
nacosRefresherHandler(ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler) |
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() |
ZookeeperRefresherHandler |
zookeeperRefresher(ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler) |
@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)
@Bean @ConditionalOnClass(name="com.alibaba.cloud.nacos.NacosConfigManager") public NacosCloudRefresherHandler nacosCloudRefresherHandler(ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler)
@Bean @ConditionalOnClass(name="com.ctrip.framework.apollo.ConfigService") public ApolloRefresherHandler apolloRefresher(ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler)
@Bean @ConditionalOnClass(name="org.apache.curator.framework.CuratorFramework") public ZookeeperRefresherHandler zookeeperRefresher(ThreadPoolNotifyAlarmHandler threadPoolNotifyAlarmHandler)
@Bean public DynamicThreadPoolMonitorExecutor hippo4jDynamicThreadPoolMonitorExecutor()
@Bean public LogMonitorHandler hippo4jLogMonitorHandler(ThreadPoolRunStateHandler threadPoolRunStateHandler)
@Bean public MetricMonitorHandler hippo4jMetricMonitorHandler(ThreadPoolRunStateHandler threadPoolRunStateHandler)
Copyright © 2022. All rights reserved.