Module cloud.opencode.base.parallel
module cloud.opencode.base.parallel
OpenCode Base Parallel Module
OpenCode 基础并行模块
Provides parallel computing capabilities based on JDK 25 features including Virtual Threads, Structured Concurrency, and Scoped Values.
提供基于 JDK 25 特性的并行计算能力,包括虚拟线程、结构化并发和作用域值。
Key Features | 主要功能:
- Virtual Threads - 虚拟线程
- Structured Concurrency (JEP 499) - 结构化并发
- Scoped Values (JEP 501) - 作用域值
- Parallel Execution (runAll, invokeAll, invokeAny) - 并行执行
- Batch Processing (parallelMap, processBatch) - 批量处理
- Async Pipeline - 异步流水线
- Concurrency Control (Semaphore throttling) - 并发控制
- Since:
- JDK 25, opencode-base-parallel V1.0.0
- Author:
- Leon Soo
-
Packages
ExportsPackageDescriptionOpenCode Parallel - Modern Parallel Computing Utilities OpenCode 并行 - 现代化并行计算工具Batch Package - Batch Processing Utilities 批处理包 - 批处理工具Exception Package - Parallel Execution Exceptions 异常包 - 并行执行异常Executor Package - Virtual Thread Executors 执行器包 - 虚拟线程执行器Pipeline Package - Async Pipeline and Functions 流水线包 - 异步流水线和函数Structured Package - Structured Concurrency (JDK 25 JEP 499/501) 结构化包 - 结构化并发 (JDK 25 JEP 499/501)