Package akka.stream.impl
Class ActorRefBackpressureSinkStage<In>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<SinkShape<In>>
-
- akka.stream.impl.ActorRefBackpressureSinkStage<In>
-
public class ActorRefBackpressureSinkStage<In> extends GraphStage<SinkShape<In>>
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description ActorRefBackpressureSinkStage(ActorRef ref, scala.Function1<ActorRef,scala.Function1<In,java.lang.Object>> messageAdapter, scala.Function1<ActorRef,java.lang.Object> onInitMessage, java.lang.Object ackMessage, java.lang.Object onCompleteMessage, scala.Function1<java.lang.Throwable,java.lang.Object> onFailureMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphStageLogic
createLogic(Attributes inheritedAttributes)
Inlet<In>
in()
Attributes
initialAttributes()
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.GraphStage
createLogicAndMaterializedValue
-
Methods inherited from class akka.stream.stage.GraphStageWithMaterializedValue
createLogicAndMaterializedValue, traversalBuilder, withAttributes
-
-
-
-
Constructor Detail
-
ActorRefBackpressureSinkStage
public ActorRefBackpressureSinkStage(ActorRef ref, scala.Function1<ActorRef,scala.Function1<In,java.lang.Object>> messageAdapter, scala.Function1<ActorRef,java.lang.Object> onInitMessage, java.lang.Object ackMessage, java.lang.Object onCompleteMessage, scala.Function1<java.lang.Throwable,java.lang.Object> onFailureMessage)
-
-
Method Detail
-
createLogic
public GraphStageLogic createLogic(Attributes inheritedAttributes)
- Specified by:
createLogic
in classGraphStage<SinkShape<In>>
-
initialAttributes
public Attributes initialAttributes()
- Overrides:
initialAttributes
in classGraphStageWithMaterializedValue<SinkShape<In>,NotUsed>
-
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.- Returns:
- (undocumented)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-