测试用户
2023-04-13 43393f2bb11cbf9e6af40077bbc5284660e8a754
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.common.core.utils;
 
import lombok.SneakyThrows;
 
import java.lang.reflect.Method;
import java.util.concurrent.ThreadPoolExecutor;
 
 
/**
 * @author 廖振钦
 * @date 2022-01-14
 */
public class ThreadUtils {
 
    public static ThreadPoolExecutor executor(){
        return SpringContextUtils.getBean(ThreadPoolExecutor.class);
    }
}