AWSTWrappedTask

scala.collection.parallel.AdaptiveWorkStealingTasks.AWSTWrappedTask
trait AWSTWrappedTask[R, Tp] extends WrappedTask[R, Tp]

Attributes

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

Members list

Value members

Abstract methods

def split: Seq[AWSTWrappedTask[R, Tp]]

Concrete methods

def compute(): Unit

Code that gets called after the task gets started - it may spawn other tasks instead of calling leaf.

Code that gets called after the task gets started - it may spawn other tasks instead of calling leaf.

Attributes

def internal(): Unit
def printChain(): Unit

Inherited methods

def release(): Unit

If the task has been cancelled successfully, those syncing on it may automatically be notified, depending on the implementation. If they aren't, this release method should be called after processing the cancelled task.

If the task has been cancelled successfully, those syncing on it may automatically be notified, depending on the implementation. If they aren't, this release method should be called after processing the cancelled task.

This method may be overridden.

Attributes

Inherited from:
WrappedTask

Inherited and Abstract methods

def start(): Unit

Start task.

Start task.

Attributes

Inherited from:
WrappedTask
def sync(): Unit

Wait for task to finish.

Wait for task to finish.

Attributes

Inherited from:
WrappedTask

Try to cancel the task.

Try to cancel the task.

Attributes

Returns

true if cancellation is successful.

Inherited from:
WrappedTask

Concrete fields

var next: AWSTWrappedTask[R, Tp]

Inherited and Abstract fields

val body: Task[R, Tp]

the body of this task - what it executes, how it gets split and how results are merged.

the body of this task - what it executes, how it gets split and how results are merged.

Attributes

Inherited from:
WrappedTask