PoolExecutor:线程池执行器的包装器

时间:2024-07-29 16:41:51
【文件属性】:

文件名称:PoolExecutor:线程池执行器的包装器

文件大小:8KB

文件格式:ZIP

更新时间:2024-07-29 16:41:51

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)

网友评论