【文件属性】:
文件名称:PoolExecutor:线程池执行器的包装器
文件大小:8KB
文件格式:ZIP
更新时间:2021-07-09 22:55:11
Java
池执行器
线程池执行器的包装器。
示例初始化代码:
IThreadPool executor = new ThreadPool (config . properties);
executor . start();
// ...
// Execute something.
// executor.execute(runnable);
// ...
// Send shutdown signal.
// Will shutdown only after all tasks/jobs have been executed.
executor . shutdown();
示例配置参数:
# Base pool size.
CorePoolSize 5
# Maximum number of threads to be created.
MaxPoolSize 10
# Time for
【文件预览】:
PoolExecutor-master
----pom.xml(2KB)
----LICENSE(1KB)
----src()
--------test()
--------main()
----.gitignore(129B)
----README.md(565B)