public final class MergeHub.MergedSourceLogic extends GraphStageLogic implements OutHandler
GraphStageLogic.ConditionalTerminateInput, GraphStageLogic.ConditionalTerminateOutput, GraphStageLogic.EagerTerminateInput$, GraphStageLogic.EagerTerminateOutput$, GraphStageLogic.IgnoreTerminateInput$, GraphStageLogic.IgnoreTerminateOutput$, GraphStageLogic.StageActor, GraphStageLogic.StageActorRef$, GraphStageLogic.StageActorRefNotInitializedException, GraphStageLogic.StageActorRefNotInitializedException$, GraphStageLogic.SubSinkInlet<T>, GraphStageLogic.SubSourceOutlet<T>, GraphStageLogic.TotallyIgnorantInput$
Constructor and Description |
---|
MergedSourceLogic(SourceShape<T> _shape,
java.util.concurrent.atomic.AtomicLong producerCount) |
Modifier and Type | Method and Description |
---|---|
void |
enqueue(akka.stream.scaladsl.MergeHub.Event ev) |
boolean |
isShuttingDown() |
void |
onPull()
Called when the output port has received a pull, and therefore ready to emit an element, i.e.
|
void |
postStop()
Invoked after processing of external events stopped because the stage is about to stop or fail.
|
abortEmitting, abortReading, afterPostStop, beforePreStart, cancel, complete, completeStage, conditionalTerminateInput, conditionalTerminateOutput, createAsyncCallback, eagerTerminateInput, eagerTerminateOutput, emit, emit, emit, emitMultiple, emitMultiple, emitMultiple, emitMultiple, emitMultiple, emitMultiple, fail, failStage, getAsyncCallback, getHandler, getHandler, getStageActor, grab, handlers, hasBeenPulled, ignoreTerminateInput, ignoreTerminateOutput, inCount, interpreter, isAvailable, isAvailable, isClosed, isClosed, materializer, outCount, passAlong, portToConn, preStart, pull, push, read, read, readN, readN, setHandler, setHandler, setHandlers, setKeepGoing, stageActor, stageId, subFusingMaterializer, totallyIgnorantInput, tryPull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onDownstreamFinish
public MergedSourceLogic(SourceShape<T> _shape, java.util.concurrent.atomic.AtomicLong producerCount)
public void onPull()
OutHandler
GraphStageLogic.push()
is now allowed to be called on this port.onPull
in interface OutHandler
public boolean isShuttingDown()
public void enqueue(akka.stream.scaladsl.MergeHub.Event ev)
public void postStop()
GraphStageLogic
postStop
in class GraphStageLogic