Class/Object

akka.stream.contrib

Sample

Related Docs: object Sample | package contrib

Permalink

case class Sample[T](next: () ⇒ Int) extends GraphStage[FlowShape[T, T]] with Product with Serializable

supports sampling on stream

next

a lambda returns next sample position

Linear Supertypes
Serializable, Serializable, Product, Equals, GraphStage[FlowShape[T, T]], GraphStageWithMaterializedValue[FlowShape[T, T], NotUsed], Graph[FlowShape[T, T], NotUsed], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sample
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. GraphStage
  7. GraphStageWithMaterializedValue
  8. Graph
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Sample(next: () ⇒ Int)

    Permalink

    next

    a lambda returns next sample position

Type Members

  1. type Shape = FlowShape[T, T]

    Permalink
    Definition Classes
    Graph

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAttributes(attr: Attributes): Graph[FlowShape[T, T], NotUsed]

    Permalink
    Definition Classes
    Graph
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def async: Graph[FlowShape[T, T], NotUsed]

    Permalink
    Definition Classes
    Graph
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createLogic(inheritedAttributes: Attributes): GraphStageLogic

    Permalink
    Definition Classes
    Sample → GraphStage
  9. final def createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)

    Permalink
    Definition Classes
    GraphStage → GraphStageWithMaterializedValue
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. val in: Inlet[T]

    Permalink
  14. def initialAttributes: Attributes

    Permalink
    Attributes
    protected
    Definition Classes
    GraphStageWithMaterializedValue
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final lazy val module: Module

    Permalink
    Definition Classes
    GraphStageWithMaterializedValue → Graph
  17. def named(name: String): Graph[FlowShape[T, T], NotUsed]

    Permalink
    Definition Classes
    Graph
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. val next: () ⇒ Int

    Permalink

    a lambda returns next sample position

  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  22. val out: Outlet[T]

    Permalink
  23. val shape: FlowShape[T, T]

    Permalink
    Definition Classes
    Sample → Graph
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def withAttributes(attr: Attributes): Graph[FlowShape[T, T], NotUsed]

    Permalink
    Definition Classes
    GraphStageWithMaterializedValue → Graph

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GraphStage[FlowShape[T, T]]

Inherited from GraphStageWithMaterializedValue[FlowShape[T, T], NotUsed]

Inherited from Graph[FlowShape[T, T], NotUsed]

Inherited from AnyRef

Inherited from Any

Ungrouped