An implementation trait for parallel tasks based on the fork/join framework.
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
class ForkJoinTaskSupport
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class RecursiveActionclass ForkJoinTask[Void]trait Serializabletrait Future[Void]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
Inherited classlikes
Attributes
- Inherited from:
- Tasks
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Value members
Concrete methods
Executes a task and does not wait for it to finish - instead returns a future.
Executes a task and does not wait for it to finish - instead returns a future.
If the current thread is a fork/join worker thread, the task's fork
method will be invoked. Otherwise, the task will be executed on the fork/join pool.
Attributes
Executes a task on a fork/join pool and waits for it to finish. Returns its result when it does.
Executes a task on a fork/join pool and waits for it to finish. Returns its result when it does.
If the current thread is a fork/join worker thread, the task's fork
method will be invoked. Otherwise, the task will be executed on the fork/join pool.
Attributes
- Returns
-
the result of the task
The fork/join pool of this collection.
The fork/join pool of this collection.
Attributes
Retrieves the parallelism level of the task execution environment.
Retrieves the parallelism level of the task execution environment.
Attributes
Abstract fields
The type of the environment is more specific in the implementations.
The type of the environment is more specific in the implementations.