public static final class IteratorInterpreter.IteratorDownstream<T> extends GraphInterpreter.DownstreamBoundaryStageLogic<T> implements scala.collection.Iterator<T>, InHandler, scala.Product, scala.Serializable
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$
scala.collection.Iterator.ConcatIterator<A>, scala.collection.Iterator.ConcatIteratorCell<A>, scala.collection.Iterator.GroupedIterator<B>, scala.collection.Iterator.SliceIterator<A>
scala.collection.TraversableOnce.BufferedCanBuildFrom<A,CC extends scala.collection.TraversableOnce<java.lang.Object>>, scala.collection.TraversableOnce.FlattenOps<A>, scala.collection.TraversableOnce.ForceImplicitAmbiguity, scala.collection.TraversableOnce.MonadOps<A>, scala.collection.TraversableOnce.OnceCanBuildFrom<A>
Constructor and Description |
---|
IteratorDownstream() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Inlet<T> |
in() |
T |
next() |
void |
onPush()
Called when the input port has a new element available.
|
void |
onUpstreamFailure(java.lang.Throwable cause)
Called when the input port has failed.
|
void |
onUpstreamFinish()
Called when the input port is finished.
|
java.lang.String |
toString() |
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, postStop, preStart, pull, push, read, read, readN, readN, setHandler, setHandler, setHandlers, setKeepGoing, stageActor, stageId, subFusingMaterializer, totallyIgnorantInput, tryPull
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
$init$, $plus$plus, apply, buffered, collect, contains, continually, copyToArray, corresponds, drop, dropWhile, duplicate, empty, exists, fill, filter, filterNot, find, flatMap, forall, foreach, from, from, grouped, hasDefiniteSize, indexOf, indexOf, indexWhere, indexWhere, isEmpty, isTraversableAgain, iterate, IteratorCanBuildFrom, length, map, padTo, partition, patch, range, range, sameElements, scanLeft, scanRight, seq, single, slice, sliceIterator, sliding, sliding$default$2, span, tabulate, take, takeWhile, toIterator, toStream, toTraversable, withFilter, zip, zipAll, zipWithIndex
$colon$bslash, $div$colon, $init$, addString, addString, addString, aggregate, alternateImplicit, collectFirst, copyToArray, copyToArray, copyToBuffer, count, flattenTraversableOnce, fold, foldLeft, foldRight, max, maxBy, min, minBy, mkString, mkString, mkString, MonadOps, nonEmpty, OnceCanBuildFrom, product, reduce, reduceLeft, reduceLeftOption, reduceOption, reduceRight, reduceRightOption, reversed, size, sum, to, toArray, toBuffer, toIndexedSeq, toIterable, toList, toMap, toSeq, toSet, toVector
public Inlet<T> in()
in
in class GraphInterpreter.DownstreamBoundaryStageLogic<T>
public void onPush()
InHandler
GraphStageLogic.grab()
method.public void onUpstreamFinish()
InHandler
onUpstreamFinish
in interface InHandler
public void onUpstreamFailure(java.lang.Throwable cause)
InHandler
onUpstreamFailure
in interface InHandler
cause
- (undocumented)public boolean hasNext()
hasNext
in interface scala.collection.Iterator<T>
public java.lang.String toString()
toString
in interface scala.collection.Iterator<T>
toString
in class java.lang.Object