package parallel

Package object for parallel collections.

Linear Supertypes
AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
  1. Alphabetic
  2. By inheritance
  1. parallel
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
  1. Public
  2. All

Type Members

  1. trait AdaptiveWorkStealingForkJoinTasks extends ForkJoinTasks with AdaptiveWorkStealingTasks

  2. trait AdaptiveWorkStealingTasks extends Tasks

    This trait implements scheduling by employing an adaptive work stealing technique.

  3. implicit class CollectionsHaveToParArray[C, T] extends AnyRef

    Adds toParArray method to collection classes.

  4. trait Combiner[-Elem, +To] extends Builder[Elem, To] with Sizing with Parallel

    The base trait for all combiners.

  5. trait CombinerFactory[U, Repr] extends AnyRef

  6. class ExecutionContextTaskSupport extends TaskSupport with ExecutionContextTasks

    A task support that uses an execution context to schedule tasks.

  7. trait ExecutionContextTasks extends Tasks

    This tasks implementation uses execution contexts to spawn a parallel computation.

  8. trait FactoryOps[From, Elem, To] extends AnyRef

  9. class ForkJoinTaskSupport extends TaskSupport with AdaptiveWorkStealingForkJoinTasks

    A task support that uses a fork join pool to schedule tasks.

  10. trait ForkJoinTasks extends Tasks with HavingForkJoinPool

    An implementation trait for parallel tasks based on the fork/join framework.

  11. trait HavingForkJoinPool extends AnyRef

    A trait describing objects that provide a fork/join pool.

  12. trait IterableSplitter[+T] extends AugmentedIterableIterator[T] with Splitter[T] with Signalling with DelegatedSignalling

    Parallel iterators allow splitting and provide a remaining method to obtain the number of elements remaining in the iterator.

  13. trait ParIterable[+T] extends GenIterable[T] with GenericParTemplate[T, ParIterable] with ParIterableLike[T, ParIterable[T], scala.Iterable[T]]

    A template trait for parallel iterable collections.

  14. trait ParIterableLike[+T, +Repr <: ParIterable[T], +Sequential <: scala.Iterable[T] with IterableLike[T, Sequential]] extends GenIterableLike[T, Repr] with CustomParallelizable[T, Repr] with Parallel with HasNewCombiner[T, Repr]

    A template trait for parallel collections of type ParIterable[T].

  15. trait ParMap[K, +V] extends GenMap[K, V] with GenericParMapTemplate[K, V, ParMap] with ParIterable[(K, V)] with ParMapLike[K, V, ParMap[K, V], Map[K, V]]

    A template trait for parallel maps.

  16. trait ParMapLike[K, +V, +Repr <: ParMapLike[K, V, Repr, Sequential] with ParMap[K, V], +Sequential <: Map[K, V] with MapLike[K, V, Sequential]] extends GenMapLike[K, V, Repr] with ParIterableLike[(K, V), Repr, Sequential]

    A template trait for mutable parallel maps.

  17. trait ParSeq[+T] extends GenSeq[T] with ParIterable[T] with GenericParTemplate[T, ParSeq] with ParSeqLike[T, ParSeq[T], scala.Seq[T]]

    A template trait for parallel sequences.

  18. trait ParSeqLike[+T, +Repr <: ParSeq[T], +Sequential <: scala.Seq[T] with SeqLike[T, Sequential]] extends GenSeqLike[T, Repr] with ParIterableLike[T, Repr, Sequential]

    A template trait for sequences of type ParSeq[T], representing parallel sequences with element type T.

  19. trait ParSet[T] extends GenSet[T] with GenericParTemplate[T, ParSet] with ParIterable[T] with ParSetLike[T, ParSet[T], Set[T]]

    A template trait for parallel sets.

  20. trait ParSetLike[T, +Repr <: ParSetLike[T, Repr, Sequential] with ParSet[T], +Sequential <: Set[T] with SetLike[T, Sequential]] extends GenSetLike[T, Repr] with ParIterableLike[T, Repr, Sequential]

    A template trait for parallel sets.

  21. trait PreciseSplitter[+T] extends Splitter[T]

    A precise splitter (or a precise split iterator) can be split into arbitrary number of splitters that traverse disjoint subsets of arbitrary sizes.

  22. trait SeqSplitter[+T] extends IterableSplitter[T] with AugmentedSeqIterator[T] with PreciseSplitter[T]

    Parallel sequence iterators allow splitting into arbitrary subsets.

  23. trait Splitter[+T] extends Iterator[T]

    A splitter (or a split iterator) can be split into more splitters that traverse over disjoint subsets of elements.

  24. trait Task[R, +Tp] extends AnyRef

  25. trait TaskSupport extends Tasks

    A trait implementing the scheduling of a parallel collection operation.

  26. trait Tasks extends AnyRef

    A trait that declares task execution capabilities used by parallel collections.

  27. trait TraversableOps[T] extends AnyRef

  28. trait AdaptiveWorkStealingThreadPoolTasks extends ThreadPoolTasks with AdaptiveWorkStealingTasks


    (Since version 2.11.0) Use AdaptiveWorkStealingForkJoinTasks instead.

  29. final case class CompositeThrowable(throwables: Set[Throwable]) extends Exception with Product with Serializable

    Composite throwable - thrown when multiple exceptions are thrown at the same time.

  30. class ThreadPoolTaskSupport extends TaskSupport with AdaptiveWorkStealingThreadPoolTasks

    A task support that uses a thread pool executor to schedule tasks.

  31. trait ThreadPoolTasks extends Tasks

    An implementation of tasks objects based on the Java thread pooling API.

  32. trait ThrowableOps extends AnyRef


    (Since version 2.11.0) This trait will be removed.

Value Members

  1. val CHECK_RATE: Int

  2. object ForkJoinTasks

  3. object FutureThreadPoolTasks

  4. val MIN_FOR_COPY: Int

  5. object ParIterable extends ParFactory[ParIterable]

    This object provides a set of operations to create ParIterable values.

  6. object ParMap extends ParMapFactory[ParMap]

  7. object ParSeq extends ParFactory[ParSeq]

  8. object ParSet extends ParSetFactory[ParSet]

  9. val SQRT2: Double

  10. object Splitter

  11. val availableProcessors: Int

  12. val defaultTaskSupport: TaskSupport

  13. package immutable

  14. package mutable

  15. def setTaskSupport[Coll](c: Coll, t: TaskSupport): Coll

  16. def thresholdFromSize(sz: Int, parallelismLevel: Int): Int

    Computes threshold from the size of the collection and the parallelism level.

Deprecated Value Members

  1. object ThreadPoolTasks


    (Since version 2.11.0) Use ForkJoinTasks instead.

Inherited from AnyRef

Inherited from Any