Package akka.stream.impl
Class JavaStreamSource<T,S extends java.util.stream.BaseStream<T,S>>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<SourceShape<T>>
-
- akka.stream.impl.JavaStreamSource<T,S>
-
- All Implemented Interfaces:
Graph<SourceShape<T>,NotUsed>
public final class JavaStreamSource<T,S extends java.util.stream.BaseStream<T,S>> extends GraphStage<SourceShape<T>>
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description JavaStreamSource(scala.Function0<java.util.stream.BaseStream<T,S>> open)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphStageLogic
createLogic(Attributes inheritedAttributes)
Outlet<T>
out()
SourceShape<T>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.-
Methods inherited from class akka.stream.stage.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, initialAttributes, traversalBuilder, withAttributes
-
-
-
-
Method Detail
-
createLogic
public GraphStageLogic createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<SourceShape<T>>
-
shape
public SourceShape<T> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.- Returns:
- (undocumented)
-
-