Trait/Object

dagr.tasks.ScatterGather

Scatter

Related Docs: object Scatter | package ScatterGather

Permalink

sealed trait Scatter[A] extends Task

One of the two main types that implement Scatter/Gather, Scatter provides methods for mapping the currently scattered type to a new type by running a task in parallel on each of the scattered parts.

Linear Supertypes
Task, Dependable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Scatter
  2. Task
  3. Dependable
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def gather[B <: Task](f: (Seq[A]) ⇒ B): Gather[A, B]

    Permalink

    Produces a Gather object which will be used at runtime to manufacture a Task of type B which can gather things of type A.

  2. abstract def getTasks: Traversable[_ <: Task]

    Permalink
    Definition Classes
    Task
  3. abstract def map[B <: Task](f: (A) ⇒ B): Scatter[B]

    Permalink

    Produces a new Scatter from the existing scatter.

    Produces a new Scatter from the existing scatter. Takes a function that maps an individual object of type A to a Task of type B. During scatter/gather operation this function will be invoked with each A, to manufacture tasks of type B.

    The resulting Scatter[B] can be further mapped or gathered (or both!).

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. def !=>(other: Dependable): Unit

    Permalink
    Definition Classes
    Task → Dependable
  3. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Scatter[A] to any2stringadd[Scatter[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (Scatter[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Scatter[A] to ArrowAssoc[Scatter[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. def ::(other: Option[Dependable]): Dependable

    Permalink
    Definition Classes
    Dependable
  7. def ::(other: Dependable): Dependable

    Permalink
    Definition Classes
    Dependable
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def ==>(other: Option[Dependable]): Dependable

    Permalink
    Definition Classes
    Dependable
  10. final def ==>(other: Dependable): Dependable

    Permalink
    Definition Classes
    Dependable
  11. def addDependent(dependent: Dependable): Unit

    Permalink
    Definition Classes
    Task → Dependable
  12. def allTasks: Traversable[Task]

    Permalink
    Definition Classes
    Task → Dependable
  13. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def ensuring(cond: (Scatter[A]) ⇒ Boolean, msg: ⇒ Any): Scatter[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Scatter[A] to Ensuring[Scatter[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (Scatter[A]) ⇒ Boolean): Scatter[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Scatter[A] to Ensuring[Scatter[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): Scatter[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Scatter[A] to Ensuring[Scatter[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): Scatter[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Scatter[A] to Ensuring[Scatter[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Scatter[A] to StringFormat[Scatter[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def headTasks: Traversable[Task]

    Permalink
    Definition Classes
    Task → Dependable
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. var name: String

    Permalink
    Definition Classes
    Task
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. def onComplete(exitCode: Int): Boolean

    Permalink
    Definition Classes
    Task
  32. def removeDependency(task: Task): Boolean

    Permalink
    Definition Classes
    Task
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def tailTasks: Traversable[Task]

    Permalink
    Definition Classes
    Task → Dependable
  35. def tasksDependedOn: Traversable[Task]

    Permalink
    Attributes
    protected[dagr.core]
    Definition Classes
    Task
  36. def tasksDependingOnThisTask: Traversable[Task]

    Permalink
    Attributes
    protected[dagr.core]
    Definition Classes
    Task
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def withName(name: String): Scatter.this.type

    Permalink
    Definition Classes
    Task
  42. def [B](y: B): (Scatter[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Scatter[A] to ArrowAssoc[Scatter[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Task

Inherited from Dependable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Scatter[A] to any2stringadd[Scatter[A]]

Inherited by implicit conversion StringFormat from Scatter[A] to StringFormat[Scatter[A]]

Inherited by implicit conversion Ensuring from Scatter[A] to Ensuring[Scatter[A]]

Inherited by implicit conversion ArrowAssoc from Scatter[A] to ArrowAssoc[Scatter[A]]

Ungrouped