scala.collection.par.workstealing.HashTries

HashMapMergerResultKernel

class HashMapMergerResultKernel[K, V] extends IndexedKernel[Int, Unit] with HashUtils

Linear Supertypes
HashUtils, IndexedKernel[Int, Unit], Kernel[Int, Unit], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HashMapMergerResultKernel
  2. HashUtils
  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 HashMapMergerResultKernel(keys: Array[Buffer[K]], vals: Array[Buffer[V]], root: Array[HashMap[K, V]])

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[Int, 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[Int, Unit], node: Node[Int, 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[Int, Unit], chunkSize: Int): Unit

    Processes the specified chunk.

    Processes the specified chunk.

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

    Definition Classes
    Any
  10. def beforeWorkOn(tree: Ref[Int, Unit], node: Node[Int, 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
    HashMapMergerResultKernelKernel
  13. final def completeIteration(stealer: Stealer[Int]): 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[Int, 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. final def improve(hcode: Int): Int

    Attributes
    protected
    Definition Classes
    HashUtils
  23. def incrementStepFactor(config: Config): Int

    Definition Classes
    HashMapMergerResultKernelKernel
  24. def incrementStepFrequency(config: Config): Int

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

    Definition Classes
    Any
  26. val keys: Array[Buffer[K]]

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. def notTerminated: Boolean

    Returns true as long as terminationCause is null.

    Returns true as long as terminationCause is null.

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

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

    Definition Classes
    AnyRef
  31. final def pushUp(tree: Ref[Int, 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()
  32. val root: Array[HashMap[K, V]]

  33. final def setTerminationCause(tc: TerminationCause): Unit

    Definition Classes
    Kernel
    Annotations
    @tailrec()
  34. def storeIntermediateResult(node: Node[Int, 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
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Definition Classes
    AnyRef → Any
  38. 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()
  39. val vals: Array[Buffer[V]]

  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def workOn(tree: Ref[Int, 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
  44. def zero: Unit

    The neutral element of the reduction.

    The neutral element of the reduction.

    Definition Classes
    HashMapMergerResultKernelKernel

Inherited from HashUtils

Inherited from IndexedKernel[Int, Unit]

Inherited from Kernel[Int, Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped