scala.collection.parallel

Tasks

trait Tasks extends AnyRef

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

Source
Tasks.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Tasks
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. trait Task [R, +Tp] extends AnyRef

  2. trait TaskImpl [R, +Tp] extends AnyRef

Abstract Value Members

  1. val environment : AnyRef

    Attributes
    abstract
  2. def execute [R, Tp] (fjtask: Task[R, Tp]): () ⇒ R

    Executes a task and returns a future.

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

    Attributes
    abstract
  3. def executeAndWaitResult [R, Tp] (task: Task[R, Tp]): R

    Executes a result task, waits for it to finish, then returns its result.

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

    Attributes
    abstract
  4. def newTaskImpl [R, Tp] (b: Task[R, Tp]): TaskImpl[R, Tp]

    Attributes
    protected abstract
  5. def parallelismLevel : Int

    Retrieves the parallelism level of the task execution environment.

    Retrieves the parallelism level of the task execution environment.

    Attributes
    abstract