ParallelismRecord
PackageAxial
Creates concurrency and placement policies for parallel Flow and stream operators.
Specification
Kind
Record
Members
7
Examples
0
boundedSignature
Parallelism.bounded count
ofProcessorsSignature
Parallelism.ofProcessors size
runOnSignature
Parallelism.runOn placement parallelism
cpuSignature
Parallelism.cpu
ioSignature
Parallelism.io count
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Operations | ||
| bounded | Parallelism.bounded count | Creates a positive concurrency bound whose work starts inline. |
| ofProcessors | Parallelism.ofProcessors size | Sizes an inline concurrency bound from the number of processors available to the process. |
| runOn | Parallelism.runOn placement parallelism | Runs every item using placement, preserving the concurrency bound. |
| cpu | Parallelism.cpu | Uses one thread-pool worker per available processor for CPU-heavy work. |
| io | Parallelism.io count | Runs up to count waiting operations inline. |
| blocking | Parallelism.blocking count | Runs up to count blocking operations on dedicated threads. |
| adaptive | Parallelism.adaptive count | Creates a fresh adaptive learner for each traversal run. |

