Package tech.riemann.etp.thread
Class MutilThreadRunner
java.lang.Object
tech.riemann.etp.thread.MutilThreadRunner
- Direct Known Subclasses:
CountdownMutilThreadRunner
- Author:
- Kerbores(kerbores@riemann.tech)
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MutilThreadRunner
public MutilThreadRunner()
-
-
Method Details
-
run
使用指定数量的线程来启动作业运行器- Parameters:
jobRunner- 作业运行器实例,表示需要执行的作业threads- 线程数量,表示要启动的线程数以并行执行作业- Throws:
InterruptedException- 如果在启动线程过程中发生中断异常
-