public static final class GraphStages.MaterializedValueSource<T> extends GraphStage<SourceShape<T>>
This source is not reusable, it is only created internally.
Constructor and Description |
---|
MaterializedValueSource(StreamLayout.MaterializedValueNode computation) |
MaterializedValueSource(StreamLayout.MaterializedValueNode computation,
Outlet<T> out) |
Modifier and Type | Method and Description |
---|---|
StreamLayout.MaterializedValueNode |
computation() |
GraphStages.MaterializedValueSource<T> |
copySrc() |
GraphStageLogic |
createLogic(Attributes attr) |
Attributes |
initialAttributes() |
Outlet<T> |
out() |
void |
setValue(T t) |
SourceShape<T> |
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.
|
java.lang.String |
toString() |
createLogicAndMaterializedValue
module, withAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAttributes, async, named
public MaterializedValueSource(StreamLayout.MaterializedValueNode computation, Outlet<T> out)
public MaterializedValueSource(StreamLayout.MaterializedValueNode computation)
public StreamLayout.MaterializedValueNode computation()
public Attributes initialAttributes()
initialAttributes
in class GraphStageWithMaterializedValue<SourceShape<T>,NotUsed>
public SourceShape<T> shape()
Graph
public void setValue(T t)
public GraphStages.MaterializedValueSource<T> copySrc()
public GraphStageLogic createLogic(Attributes attr)
createLogic
in class GraphStage<SourceShape<T>>
public java.lang.String toString()
toString
in class java.lang.Object