SubSinkInlet

org.apache.pekko.stream.stage.GraphStageLogic.SubSinkInlet
class SubSinkInlet[T](name: String)

INTERNAL API

This allows the dynamic creation of an Inlet for a GraphStage which is connected to a Sink that is available for materialization (e.g. using the subFusingMaterializer). Completion, cancellation and failure of the parent operator is automatically delegated to instances of SubSinkInlet to avoid resource leaks.

To be thread safe this method must only be called from either the constructor of the graph operator during materialization or one of the methods invoked by the graph operator machinery, such as onPush and onPull.

Attributes

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

Members list

Value members

Concrete methods

def cancel(): Unit

Attributes

Source
GraphStage.scala
def cancel(cause: Throwable): Unit

Attributes

Source
GraphStage.scala
def grab(): T

Attributes

Source
GraphStage.scala

Attributes

Source
GraphStage.scala

Attributes

Source
GraphStage.scala

Attributes

Source
GraphStage.scala
def pull(): Unit

Attributes

Source
GraphStage.scala
def setHandler(handler: InHandler): Unit

Attributes

Source
GraphStage.scala

Attributes

Source
GraphStage.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
GraphStage.scala