|
|
@ -31,6 +31,7 @@ import cn.hippo4j.core.config.WebThreadPoolConfiguration;
|
|
|
|
import cn.hippo4j.core.enable.MarkerConfiguration;
|
|
|
|
import cn.hippo4j.core.enable.MarkerConfiguration;
|
|
|
|
import cn.hippo4j.core.executor.ThreadPoolNotifyAlarmHandler;
|
|
|
|
import cn.hippo4j.core.executor.ThreadPoolNotifyAlarmHandler;
|
|
|
|
import cn.hippo4j.core.executor.state.ThreadPoolRunStateHandler;
|
|
|
|
import cn.hippo4j.core.executor.state.ThreadPoolRunStateHandler;
|
|
|
|
|
|
|
|
import cn.hippo4j.core.handler.DynamicThreadPoolBannerHandler;
|
|
|
|
import cn.hippo4j.core.springboot.starter.monitor.DynamicThreadPoolMonitorExecutor;
|
|
|
|
import cn.hippo4j.core.springboot.starter.monitor.DynamicThreadPoolMonitorExecutor;
|
|
|
|
import cn.hippo4j.core.springboot.starter.monitor.LogMonitorHandler;
|
|
|
|
import cn.hippo4j.core.springboot.starter.monitor.LogMonitorHandler;
|
|
|
|
import cn.hippo4j.core.springboot.starter.monitor.MetricMonitorHandler;
|
|
|
|
import cn.hippo4j.core.springboot.starter.monitor.MetricMonitorHandler;
|
|
|
@ -194,4 +195,9 @@ public class DynamicThreadPoolCoreAutoConfiguration {
|
|
|
|
public ThreadPoolAdapterRegister threadPoolAdapterRegister() {
|
|
|
|
public ThreadPoolAdapterRegister threadPoolAdapterRegister() {
|
|
|
|
return new ThreadPoolAdapterRegister(bootstrapCoreProperties);
|
|
|
|
return new ThreadPoolAdapterRegister(bootstrapCoreProperties);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Bean
|
|
|
|
|
|
|
|
public DynamicThreadPoolBannerHandler threadPoolBannerHandler() {
|
|
|
|
|
|
|
|
return new DynamicThreadPoolBannerHandler(bootstrapCoreProperties);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|