Packages

  • package root
    Definition Classes
    root
  • package akka
    Definition Classes
    root
  • package stream
    Definition Classes
    akka
  • object Fusing

    This class holds some graph transformation functions that can fuse together multiple operation stages into synchronous execution islands.

    This class holds some graph transformation functions that can fuse together multiple operation stages into synchronous execution islands. The purpose is to reduce the number of Actors that are created in order to execute the stream and thereby improve start-up cost as well as reduce element traversal latency for large graphs. Fusing itself is a time-consuming operation, meaning that usually it is best to cache the result of this computation and reuse it instead of fusing the same graph many times.

    Fusing together all operations which allow this treatment will reduce the parallelism that is available in the stream graph’s execution—in the worst case it will become single-threaded and not benefit from multiple CPU cores at all. Where parallelism is required, the akka.stream.Attributes#AsyncBoundary attribute can be used to declare subgraph boundaries across which the graph shall not be fused.

    Definition Classes
    stream
  • FusedGraph

case class FusedGraph[+S <: akka.stream.Shape @scala.annotation.unchecked.uncheckedVariance, +M](module: FusedModule, shape: S) extends Graph[S, M] with Product with Serializable

A fused graph of the right shape, containing a FusedModule which holds more information on the operation structure of the contained stream topology for convenient graph traversal.

Source
Fusing.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Graph[S, M], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FusedGraph
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Graph
  7. AnyRef
  8. 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

Instance Constructors

  1. new FusedGraph(module: FusedModule, shape: S)

Type Members

  1. type Shape = S

    Type-level accessor for the shape parameter of this graph.

    Type-level accessor for the shape parameter of this graph.

    Definition Classes
    Graph

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from FusedGraph[S, M] to any2stringadd[FusedGraph[S, M]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (FusedGraph[S, M], B)
    Implicit
    This member is added by an implicit conversion from FusedGraph[S, M] to ArrowAssoc[FusedGraph[S, M]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addAttributes(attr: Attributes): Graph[S, M]
    Definition Classes
    Graph
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def async: Graph[S, M]

    Put an asynchronous boundary around this Graph

    Put an asynchronous boundary around this Graph

    Definition Classes
    Graph
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def ensuring(cond: (FusedGraph[S, M]) ⇒ Boolean, msg: ⇒ Any): FusedGraph[S, M]
    Implicit
    This member is added by an implicit conversion from FusedGraph[S, M] to Ensuring[FusedGraph[S, M]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (FusedGraph[S, M]) ⇒ Boolean): FusedGraph[S, M]
    Implicit
    This member is added by an implicit conversion from FusedGraph[S, M] to Ensuring[FusedGraph[S, M]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): FusedGraph[S, M]
    Implicit
    This member is added by an implicit conversion from FusedGraph[S, M] to Ensuring[FusedGraph[S, M]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): FusedGraph[S, M]
    Implicit
    This member is added by an implicit conversion from FusedGraph[S, M] to Ensuring[FusedGraph[S, M]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from FusedGraph[S, M] to StringFormat[FusedGraph[S, M]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val module: FusedModule
    Definition Classes
    FusedGraphGraph
  20. def named(name: String): Graph[S, M]
    Definition Classes
    Graph
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. val shape: S
    Definition Classes
    FusedGraphGraph
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def withAttributes(attr: Attributes): FusedGraph[S, Nothing]
    Definition Classes
    FusedGraphGraph
  30. def [B](y: B): (FusedGraph[S, M], B)
    Implicit
    This member is added by an implicit conversion from FusedGraph[S, M] to ArrowAssoc[FusedGraph[S, M]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Graph[S, M]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from FusedGraph[S, M] to any2stringadd[FusedGraph[S, M]]

Inherited by implicit conversion StringFormat from FusedGraph[S, M] to StringFormat[FusedGraph[S, M]]

Inherited by implicit conversion Ensuring from FusedGraph[S, M] to Ensuring[FusedGraph[S, M]]

Inherited by implicit conversion ArrowAssoc from FusedGraph[S, M] to ArrowAssoc[FusedGraph[S, M]]

Ungrouped