Packages

t

scala.collection.parallel

AdaptiveWorkStealingForkJoinTasks

trait AdaptiveWorkStealingForkJoinTasks extends ForkJoinTasks with AdaptiveWorkStealingTasks

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AdaptiveWorkStealingForkJoinTasks
  2. AdaptiveWorkStealingTasks
  3. ForkJoinTasks
  4. HavingForkJoinPool
  5. Tasks
  6. AnyRef
  7. 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. class WrappedTask[R, Tp] extends RecursiveAction with AdaptiveWorkStealingForkJoinTasks.WrappedTask[R, Tp] with AdaptiveWorkStealingForkJoinTasks.WrappedTask[R, Tp]

Abstract Value Members

  1. abstract val environment: ForkJoinPool

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

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

    Definition Classes
    ForkJoinTasksTasks

Concrete Value Members

  1. def execute[R, Tp](task: Task[R, Tp]): () ⇒ R

    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.

    Definition Classes
    ForkJoinTasksTasks
  2. def executeAndWaitResult[R, Tp](task: Task[R, Tp]): R

    Executes a task on a fork/join pool and waits for it to finish.

    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.

    returns

    the result of the task

    Definition Classes
    ForkJoinTasksTasks
  3. def forkJoinPool: ForkJoinPool

    The fork/join pool of this collection.

    The fork/join pool of this collection.

    Definition Classes
    ForkJoinTasksHavingForkJoinPool
  4. def newWrappedTask[R, Tp](b: Task[R, Tp]): WrappedTask[R, Tp]
  5. def parallelismLevel: Int

    Retrieves the parallelism level of the task execution environment.

    Retrieves the parallelism level of the task execution environment.

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