public final class QueueSource<T> extends GraphStageWithMaterializedValue<SourceShape<T>,SourceQueueWithComplete<T>>
| Modifier and Type | Class and Description |
|---|---|
static class |
QueueSource.Completion$ |
static class |
QueueSource.Failure |
static class |
QueueSource.Failure$ |
static interface |
QueueSource.Input<T> |
static class |
QueueSource.Offer<T> |
static class |
QueueSource.Offer$ |
| Constructor and Description |
|---|
QueueSource(int maxBuffer,
OverflowStrategy overflowStrategy) |
| Modifier and Type | Method and Description |
|---|---|
static Graph<S,M> |
addAttributes(Attributes attr) |
static Graph<S,M> |
async() |
scala.Tuple2<GraphStageLogic,java.lang.Object> |
createLogicAndMaterializedValue(Attributes inheritedAttributes) |
protected static Attributes |
initialAttributes() |
static StreamLayout.Module |
module() |
static Graph<S,M> |
named(java.lang.String name) |
Outlet<T> |
out() |
SourceShape<T> |
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.
|
static Graph<S,M> |
withAttributes(Attributes attr) |
initialAttributes, module, withAttributesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAttributes, async, namedpublic QueueSource(int maxBuffer,
OverflowStrategy overflowStrategy)
public static Graph<S,M> named(java.lang.String name)
public static Graph<S,M> async()
public static Graph<S,M> addAttributes(Attributes attr)
protected static Attributes initialAttributes()
public static final StreamLayout.Module module()
public static final Graph<S,M> withAttributes(Attributes attr)
public SourceShape<T> shape()
Graphpublic scala.Tuple2<GraphStageLogic,java.lang.Object> createLogicAndMaterializedValue(Attributes inheritedAttributes)