scala.collection.par.workstealing.Reducables

CopyMapReducableKernel

abstract class CopyMapReducableKernel[T, S] extends ReducableKernel[T, Unit]

Linear Supertypes
ReducableKernel[T, Unit], Kernel[T, Unit], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CopyMapReducableKernel
  2. ReducableKernel
  3. Kernel
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CopyMapReducableKernel()

Abstract Value Members

  1. abstract def apply(node: Node[T, Unit], chunkSize: Int): Unit

    Processes the specified chunk.

    Processes the specified chunk.

    Definition Classes
    Kernel
  2. abstract def resultArray: Array[S]

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def afterCreateRoot(tree: Ref[T, Unit]): Unit

    Initializes the workstealing tree root.

    Initializes the workstealing tree root.

    By default does nothing, but some kernels may choose to override this default behaviour.

    Definition Classes
    Kernel
  7. def afterExpand(old: Node[T, Unit], node: Node[T, Unit]): Unit

    Initializes a node that has just been stolen.

    Initializes a node that has just been stolen.

    By default does nothing, but some kernels may choose to override this default behaviour to store operation-specific information into the node.

    Definition Classes
    Kernel
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def beforeWorkOn(tree: Ref[T, Unit], node: Node[T, Unit]): Unit

    Initializes the workstealing tree node.

    Initializes the workstealing tree node.

    By default does nothing, but some kernels may choose to override this default behaviour to store operation-specific information into the node.

    Definition Classes
    Kernel
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def combine(a: Unit, b: Unit): Unit

    Combines results from two chunks into the aggregate result.

    Combines results from two chunks into the aggregate result.

    Definition Classes
    CopyMapReducableKernelKernel
  12. final def completeIteration(stealer: Stealer[T]): Unit

    Completes the iteration in the stealer.

    Completes the iteration in the stealer.

    Some parallel operations do not traverse all the elements in a chunk or a node. The purpose of this method is to bring the node into a Completed or Stolen state before proceeding.

    Attributes
    protected
    Definition Classes
    Kernel
  13. def completeNode(intermediate: Unit, tree: Ref[T, Unit], worker: WorkerTask): Boolean

    Completes the iteration in the node.

    Completes the iteration in the node.

    Some parallel operations do not traverse all the elements in a chunk or a node. The purpose of this method is to bring the node into a Completed or Stolen state before proceeding.

    Attributes
    protected
    Definition Classes
    Kernel
  14. def defaultIncrementStepFactor: Int

    Definition Classes
    Kernel
  15. def defaultIncrementStepFrequency: Int

    Definition Classes
    Kernel
  16. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  21. def incrementStepFactor(config: Config): Int

    Definition Classes
    Kernel
  22. def incrementStepFrequency(config: Config): Int

    Definition Classes
    Kernel
  23. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  25. def notTerminated: Boolean

    Returns true as long as terminationCause is null.

    Returns true as long as terminationCause is null.

    Definition Classes
    Kernel
  26. final def notify(): Unit

    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  28. final def pushUp(tree: Ref[T, Unit], worker: WorkerTask): Unit

    Pushes the result up the tree

    Pushes the result up the tree

    After completing node worker tryes to push the result up the tree, as far as he could

    Attributes
    protected
    Definition Classes
    Kernel
    Annotations
    @tailrec()
  29. final def setTerminationCause(tc: TerminationCause): Unit

    Definition Classes
    Kernel
    Annotations
    @tailrec()
  30. def storeIntermediateResult(node: Node[T, Unit], res: Unit): Unit

    Stores the result of processing the node into the lresult field.

    Stores the result of processing the node into the lresult field.

    This behaviour can be overridden.

    Definition Classes
    Kernel
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. val terminationCauseRef: AtomicReference[TerminationCause]

    Used for cancelling operations early (e.

    Used for cancelling operations early (e.g. due to exceptions). Holds information on why the operation failed

    Attributes
    protected
    Definition Classes
    Kernel
  33. def toString(): String

    Definition Classes
    AnyRef → Any
  34. def validateResult(r: Unit): Unit

    Returns the result if there was no early termination.

    Returns the result if there was no early termination. Otherwise may throw an exception based on the termination cause.

    Definition Classes
    Kernel
    Annotations
    @inline()
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def workOn(tree: Ref[T, Unit], config: Config, worker: WorkerTask): Boolean

    Returns true if completed with no stealing.

    Returns true if completed with no stealing. Returns false if steal occurred.

    May be overridden in subclass to specialize for better performance.

    Definition Classes
    ReducableKernelKernel
  39. def zero: Unit

    The neutral element of the reduction.

    The neutral element of the reduction.

    Definition Classes
    CopyMapReducableKernelKernel

Inherited from ReducableKernel[T, Unit]

Inherited from Kernel[T, Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped