Packages

t

scala.collection.parallel

AdaptiveWorkStealingThreadPoolTasks

trait AdaptiveWorkStealingThreadPoolTasks extends ThreadPoolTasks with AdaptiveWorkStealingTasks

Annotations
@deprecated
Deprecated

(Since version 2.11.0) use AdaptiveWorkStealingForkJoinTasks instead

Source
Tasks.scala
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AdaptiveWorkStealingThreadPoolTasks
  2. AdaptiveWorkStealingTasks
  3. ThreadPoolTasks
  4. Tasks
  5. AnyRef
  6. 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 AdaptiveWorkStealingThreadPoolTasks.WrappedTask[R, Tp] with AdaptiveWorkStealingThreadPoolTasks.WrappedTask[R, Tp]

Abstract Value Members

  1. abstract val environment: ThreadPoolExecutor

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

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

    Definition Classes
    ThreadPoolTasksTasks

Concrete Value Members

  1. def execute[R, Tp](task: 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
    ThreadPoolTasksTasks
  2. 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
    ThreadPoolTasksTasks
  3. def executor: ThreadPoolExecutor
    Definition Classes
    ThreadPoolTasks
  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
    ThreadPoolTasksTasks
  6. def queue: LinkedBlockingQueue[Runnable]
    Definition Classes
    ThreadPoolTasks
  7. def toParArray: ParArray[T]
    Implicit
    This member is added by an implicit conversion from AdaptiveWorkStealingThreadPoolTasks to CollectionsHaveToParArray[AdaptiveWorkStealingThreadPoolTasks, T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (AdaptiveWorkStealingThreadPoolTasks) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray
  8. val totaltasks: Int
    Definition Classes
    ThreadPoolTasks
    Annotations
    @volatile()