Packages

t

scala.collection.parallel

AdaptiveWorkStealingTasks

trait AdaptiveWorkStealingTasks extends Tasks

This trait implements scheduling by employing an adaptive work stealing technique.

Source
Tasks.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AdaptiveWorkStealingTasks
  2. Tasks
  3. AnyRef
  4. Any
Implicitly
  1. by CollectionsHaveToParArray
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait WrappedTask[R, Tp] extends AdaptiveWorkStealingTasks.WrappedTask[R, Tp]

Abstract Value Members

  1. abstract 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.

    Definition Classes
    Tasks
  2. abstract 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.

    Definition Classes
    Tasks
  3. abstract 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.

    Definition Classes
    Tasks
  4. abstract def parallelismLevel: Int

    Retrieves the parallelism level of the task execution environment.

    Retrieves the parallelism level of the task execution environment.

    Definition Classes
    Tasks

Concrete Value Members

  1. def toParArray: ParArray[T]
    Implicit
    This member is added by an implicit conversion from AdaptiveWorkStealingTasks to CollectionsHaveToParArray[AdaptiveWorkStealingTasks, T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (AdaptiveWorkStealingTasks) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray