Tasks

scala.collection.parallel.Tasks
trait Tasks

A trait that declares task execution capabilities used by parallel collections.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Classlikes

trait WrappedTask[R, +Tp]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AWSTWrappedTask[R, Tp]
class AWSFJTWrappedTask[R, Tp]
trait FJTWrappedTask[R, Tp]

Value members

Abstract methods

def execute[R, Tp](fjtask: Task[R, Tp]): () => R

Executes a task and returns a future. Forwards an exception if some task threw it.

Executes a task and returns a future. Forwards an exception if some task threw it.

Attributes

def executeAndWaitResult[R, Tp](task: Task[R, Tp]): R

Executes a result task, waits for it to finish, then returns its result. Forwards an exception if some task threw it.

Executes a result task, waits for it to finish, then returns its result. Forwards an exception if some task threw it.

Attributes

Retrieves the parallelism level of the task execution environment.

Retrieves the parallelism level of the task execution environment.

Attributes

Abstract fields

val environment: AnyRef

The type of the environment is more specific in the implementations.

The type of the environment is more specific in the implementations.

Attributes