AbstractInHandler

org.apache.pekko.stream.stage.AbstractInHandler
abstract class AbstractInHandler extends InHandler

Java API: callbacks for an input port where termination logic is predefined (completing when upstream completes, failing when upstream fails).

Attributes

Source
GraphStage.scala
Graph
Supertypes
trait InHandler
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def onPush(): Unit

Called when the input port has a new element available. The actual element can be retrieved via the GraphStageLogic.grab method.

Called when the input port has a new element available. The actual element can be retrieved via the GraphStageLogic.grab method.

Attributes

Inherited from:
InHandler
Source
GraphStage.scala

Called when the input port has failed. After this callback no other callbacks will be called for this port.

Called when the input port has failed. After this callback no other callbacks will be called for this port.

Attributes

Inherited from:
InHandler
Source
GraphStage.scala

Called when the input port is finished. After this callback no other callbacks will be called for this port.

Called when the input port is finished. After this callback no other callbacks will be called for this port.

Attributes

Inherited from:
InHandler
Source
GraphStage.scala