Package akka.stream.impl.fusing
Class SubSink<T>
- java.lang.Object
-
- akka.stream.stage.GraphStageWithMaterializedValue<S,NotUsed>
-
- akka.stream.stage.GraphStage<SinkShape<T>>
-
- akka.stream.impl.fusing.SubSink<T>
-
public final class SubSink<T> extends GraphStage<SinkShape<T>>
INTERNAL API
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubSink.Cancel$
static class
SubSink.CancelScheduledBeforeMaterialization$
static interface
SubSink.Command
static class
SubSink.CommandScheduledBeforeMaterialization
static class
SubSink.RequestOne$
static class
SubSink.RequestOneScheduledBeforeMaterialization$
static interface
SubSink.State
static class
SubSink.Uninitialized$
-
Constructor Summary
Constructors Constructor Description SubSink(java.lang.String name, scala.Function1<ActorSubscriberMessage,scala.runtime.BoxedUnit> externalCallback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelSubstream()
GraphStageLogic
createLogic(Attributes attr)
Attributes
initialAttributes()
void
pullSubstream()
SinkShape<T>
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
-
SubSink
public SubSink(java.lang.String name, scala.Function1<ActorSubscriberMessage,scala.runtime.BoxedUnit> externalCallback)
-
-
Method Detail
-
initialAttributes
public Attributes initialAttributes()
- Overrides:
initialAttributes
in classGraphStageWithMaterializedValue<SinkShape<T>,NotUsed>
-
shape
public SinkShape<T> shape()
Description copied from interface:Graph
The shape of a graph is all that is externally visible: its inlets and outlets.- Returns:
- (undocumented)
-
pullSubstream
public void pullSubstream()
-
cancelSubstream
public void cancelSubstream()
-
createLogic
public GraphStageLogic createLogic(Attributes attr)
- Specified by:
createLogic
in classGraphStage<SinkShape<T>>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-