public abstract class AsyncUtil extends Object
| Constructor and Description |
|---|
AsyncUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
execute(Runnable runnable)
异步执行任务
|
static ThreadPoolExecutor |
executor()
获取线程池对象
|
public static ThreadPoolExecutor executor()
public static void execute(Runnable runnable)
runnable - 任务Copyright © 2025. All rights reserved.