AdaptiveWorkStealingTasks

scala.collection.parallel.AdaptiveWorkStealingTasks

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

Attributes

Graph
Supertypes
trait Tasks
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Classlikes

trait AWSTWrappedTask[R, Tp] extends WrappedTask[R, Tp]

Attributes

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

Inherited classlikes

trait WrappedTask[R, +Tp]

Attributes

Inherited from:
Tasks
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

protected def newWrappedTask[R, Tp](b: Task[R, Tp]): WrappedTask[R, Tp]

Inherited and 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

Inherited from:
Tasks
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

Inherited from:
Tasks

Retrieves the parallelism level of the task execution environment.

Retrieves the parallelism level of the task execution environment.

Attributes

Inherited from:
Tasks

Inherited and 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

Inherited from:
Tasks