Package akka.stream.impl.streamref
Class SinkRefStageImpl<In>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<SinkShape<In>,SourceRef<In>>
-
- akka.stream.impl.streamref.SinkRefStageImpl<In>
-
public final class SinkRefStageImpl<In> extends GraphStageWithMaterializedValue<SinkShape<In>,SourceRef<In>>
INTERNAL API: Actual operator implementation backingSinkRef
s.If initialPartnerRef is set, then the remote side is already set up. If it is none, then we are the side creating the ref.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SinkRefStageImpl.ActorRefStage
-
Nested classes/interfaces inherited from interface akka.stream.Graph
Graph.GraphMapMatVal<S extends Shape,M>
-
-
Constructor Summary
Constructors Constructor Description SinkRefStageImpl(OptionVal<ActorRef> initialPartnerRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Tuple2<GraphStageLogic,SourceRef<In>>
createLogicAndMaterializedValue(Attributes inheritedAttributes)
scala.Tuple2<GraphStageLogic,SourceRef<In>>
createLogicAndMaterializedValue(Attributes inheritedAttributes, Materializer eagerMaterializer)
Grants access to the materializer before preStart of the graph stage logic is invoked.Inlet<In>
in()
OptionVal<ActorRef>
initialPartnerRef()
SinkShape<In>
shape()
The shape of a graph is all that is externally visible: its inlets and outlets.java.lang.String
toString()
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
initialAttributes, traversalBuilder, withAttributes
-
-
-
-
Method Detail
-
shape
public SinkShape<In> 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,SourceRef<In>> createLogicAndMaterializedValue(Attributes inheritedAttributes)
- Specified by:
createLogicAndMaterializedValue
in classGraphStageWithMaterializedValue<SinkShape<In>,SourceRef<In>>
-
createLogicAndMaterializedValue
public scala.Tuple2<GraphStageLogic,SourceRef<In>> createLogicAndMaterializedValue(Attributes inheritedAttributes, Materializer eagerMaterializer)
Description copied from class:GraphStageWithMaterializedValue
Grants access to the materializer before preStart of the graph stage logic is invoked.INTERNAL API
- Overrides:
createLogicAndMaterializedValue
in classGraphStageWithMaterializedValue<SinkShape<In>,SourceRef<In>>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-