AdaptiveWorkStealingForkJoinTasks

trait Tasks
class Object
trait Matchable
class Any

Type members

Classlikes

class AWSFJTWrappedTask[R, Tp](val body: Task[R, Tp]) extends FJTWrappedTask[R, Tp] with AWSTWrappedTask[R, Tp]

Inherited classlikes

trait AWSTWrappedTask[R, Tp]
trait FJTWrappedTask[R, +Tp]
Inherited from
ForkJoinTasks
trait WrappedTask[R, +Tp]
Inherited from
Tasks

Value members

Concrete methods

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

Inherited methods

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.

Inherited from
ForkJoinTasks
def executeAndWaitResult[R, Tp](task: Task[R, Tp]): R

Executes a task on a fork/join pool and waits for it to finish. Returns its result when it does.

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

Inherited from
ForkJoinTasks
def forkJoinPool: ForkJoinPool

The fork/join pool of this collection.

The fork/join pool of this collection.

Inherited from
ForkJoinTasks
Inherited from
ForkJoinTasks

Inherited fields

val environment: ForkJoinPool
Inherited from
ForkJoinTasks