add
yj
2024-12-05 b9900893177c78fc559223521fe839aa21000017
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.iotechn.unimall.biz.executor;
 
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
 
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: rize
 * Date: 2019/12/27
 * Time: 21:04
 */
public class GlobalExecutor {
 
    private static final ExecutorService executor = Executors.newFixedThreadPool(1);
 
    public static void execute(Runnable runnable) {
        executor.execute(runnable);
    }
 
}