Skip to content

Commit 509ea06

Browse files
author
wfy
committed
pool test
1 parent f3f6632 commit 509ea06

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package java0.conc0301.pool;
2+
3+
import java.util.concurrent.BlockingQueue;
4+
import java.util.concurrent.ThreadPoolExecutor;
5+
import java.util.concurrent.TimeUnit;
6+
7+
/**
8+
* @program: 0301
9+
* @description:
10+
* @author: wfy
11+
* @create: 2021-01-26 23:33
12+
*/
13+
public class ThreadPoolTest {
14+
public static void main(String[] args) {
15+
TimeUnit unit;
16+
BlockingQueue workQueue;
17+
ThreadPoolExecutor executor = new ThreadPoolExecutor(10, 20, , unit, workQueue);
18+
}
19+
}

0 commit comments

Comments
 (0)