Package akka.stream.impl
Class BoundedSourceQueueStage<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<SourceShape<T>,BoundedSourceQueue<T>>
-
- akka.stream.impl.BoundedSourceQueueStage<T>
-
- All Implemented Interfaces:
Graph<SourceShape<T>,BoundedSourceQueue<T>>
public final class BoundedSourceQueueStage<T> extends GraphStageWithMaterializedValue<SourceShape<T>,BoundedSourceQueue<T>>
INTERNAL API
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BoundedSourceQueueStage.Done
static class
BoundedSourceQueueStage.Done$
static class
BoundedSourceQueueStage.NeedsActivation$
static class
BoundedSourceQueueStage.Running$
static interface
BoundedSourceQueueStage.State
-
Nested classes/interfaces inherited from interface akka.stream.Graph
Graph.GraphMapMatVal<S extends Shape,M>
-
-
Constructor Summary
Constructors Constructor Description BoundedSourceQueueStage(int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Tuple2<GraphStageLogic,BoundedSourceQueue<T>>
createLogicAndMaterializedValue(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.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, initialAttributes, traversalBuilder, withAttributes
-
-
-
-
Method Detail
-
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.
-
createLogicAndMaterializedValue
public scala.Tuple2<GraphStageLogic,BoundedSourceQueue<T>> createLogicAndMaterializedValue(Attributes inheritedAttributes)
- Specified by:
createLogicAndMaterializedValue
in classGraphStageWithMaterializedValue<SourceShape<T>,BoundedSourceQueue<T>>
-
-