public final class QueueSink<T> extends GraphStageWithMaterializedValue<SinkShape<T>,SinkQueueWithCancel<T>>
Modifier and Type | Class and Description |
---|---|
static class |
QueueSink.Cancel$ |
static interface |
QueueSink.Output<T> |
static class |
QueueSink.Pull<T> |
static class |
QueueSink.Pull$ |
Constructor and Description |
---|
QueueSink() |
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) |
Inlet<T> |
in() |
Attributes |
initialAttributes() |
static StreamLayout.Module |
module() |
static Graph<S,M> |
named(java.lang.String name) |
SinkShape<T> |
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.
|
java.lang.String |
toString() |
static Graph<S,M> |
withAttributes(Attributes attr) |
module, withAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAttributes, async, named
public static Graph<S,M> named(java.lang.String name)
public static Graph<S,M> async()
public static Graph<S,M> addAttributes(Attributes attr)
public static final StreamLayout.Module module()
public static final Graph<S,M> withAttributes(Attributes attr)
public Attributes initialAttributes()
initialAttributes
in class GraphStageWithMaterializedValue<SinkShape<T>,SinkQueueWithCancel<T>>
public SinkShape<T> shape()
Graph
public java.lang.String toString()
toString
in class java.lang.Object
public scala.Tuple2<GraphStageLogic,java.lang.Object> createLogicAndMaterializedValue(Attributes inheritedAttributes)