Class ParallelRunnable

java.lang.Object
org.apfloat.internal.ParallelRunnable
All Implemented Interfaces:
Runnable

public abstract class ParallelRunnable extends Object implements Runnable
Abstract class for a Runnable that can be run in parallel by multiple threads. Internally, the ParallelRunnable splits the work to many small batches, which are run one at a time, and can be run in parallel by multiple threads. The ParallelRunnable isn't completed until all batches are completed, i.e. the run() method only returns when all batches are completed.
Since:
1.1
Version:
1.14.0
Author:
Mikko Tommila