Package akka.stream.impl
Class QueueSource<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<SourceShape<T>,SourceQueueWithComplete<T>>
-
- akka.stream.impl.QueueSource<T>
-
- All Implemented Interfaces:
Graph<SourceShape<T>,SourceQueueWithComplete<T>>
public final class QueueSource<T> extends GraphStageWithMaterializedValue<SourceShape<T>,SourceQueueWithComplete<T>>
INTERNAL API
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueueSource.Completion$static classQueueSource.Failurestatic classQueueSource.Failure$static interfaceQueueSource.Input<T>static classQueueSource.Offer<T>static classQueueSource.Offer$
-
Constructor Summary
Constructors Constructor Description QueueSource(int maxBuffer, OverflowStrategy overflowStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Tuple2<GraphStageLogic,GraphStageLogic>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
-
-
-
-
Constructor Detail
-
QueueSource
public QueueSource(int maxBuffer, OverflowStrategy overflowStrategy)
-
-
Method Detail
-
shape
public SourceShape<T> shape()
Description copied from interface:GraphThe shape of a graph is all that is externally visible: its inlets and outlets.- Returns:
- (undocumented)
-
createLogicAndMaterializedValue
public scala.Tuple2<GraphStageLogic,GraphStageLogic> createLogicAndMaterializedValue(Attributes inheritedAttributes)
-
-