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);
|
}
|
}
|