scala.collection.par.workstealing.Arrays

CopyMapArrayKernel

abstract class CopyMapArrayKernel[T, S] extends ArrayKernel[T, Unit]

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

Instance Constructors

  1. new CopyMapArrayKernel()

Abstract Value Members

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

    Definition Classes
    ArrayKernel
  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. def apply(node: Node[T, Unit], chunkSize: Int): Unit

    Processes the specified chunk.

    Processes the specified chunk.

    Definition Classes
    ArrayKernelKernel
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. 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
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. 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
    CopyMapArrayKernelKernel
  13. 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
  14. 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
  15. def defaultIncrementStepFactor: Int

    Definition Classes
    Kernel
  16. def defaultIncrementStepFrequency: Int

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  26. def notTerminated: Boolean

    Returns true as long as terminationCause is null.

    Returns true as long as terminationCause is null.

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

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

    Definition Classes
    AnyRef
  29. 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()
  30. final def setTerminationCause(tc: TerminationCause): Unit

    Definition Classes
    Kernel
    Annotations
    @tailrec()
  31. 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
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. 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
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. 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()
  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. 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
    IndexedKernelKernel
  40. def zero: Unit

    The neutral element of the reduction.

    The neutral element of the reduction.

    Definition Classes
    CopyMapArrayKernelKernel

Inherited from ArrayKernel[T, Unit]

Inherited from IndexedKernel[T, Unit]

Inherited from Kernel[T, Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped