Trait

scala.collection.parallel.ThreadPoolTasks

WrappedTask

Related Doc: package ThreadPoolTasks

Permalink

trait WrappedTask[R, +Tp] extends Runnable with ThreadPoolTasks.WrappedTask[R, Tp]

Linear Supertypes
ThreadPoolTasks.WrappedTask[R, Tp], Runnable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WrappedTask
  2. WrappedTask
  3. Runnable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val body: Task[R, Tp]

    Permalink

    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.

    Definition Classes
    WrappedTask
  2. abstract def compute(): Unit

    Permalink

    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.

    Definition Classes
    WrappedTask
  3. abstract def split: scala.Seq[ThreadPoolTasks.WrappedTask[R, Tp]]

    Permalink
    Definition Classes
    WrappedTask

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. var completed: Boolean

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. var owned: Boolean

    Permalink
  17. def release(): Unit

    Permalink

    If the task has been cancelled successfully, those syncing on it may automatically be notified, depending on the implementation.

    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.

    Definition Classes
    WrappedTaskWrappedTask
  18. def run(): Unit

    Permalink
    Definition Classes
    WrappedTask → Runnable
  19. def start(): Unit

    Permalink

    Start task.

    Start task.

    Definition Classes
    WrappedTaskWrappedTask
  20. def sync(): Unit

    Permalink

    Wait for task to finish.

    Wait for task to finish.

    Definition Classes
    WrappedTaskWrappedTask
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def tryCancel(): Boolean

    Permalink

    Try to cancel the task.

    Try to cancel the task.

    returns

    true if cancellation is successful.

    Definition Classes
    WrappedTaskWrappedTask
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ThreadPoolTasks.WrappedTask[R, Tp]

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped