PollImpl

abstract
class PollImpl[A, E <: BufElem[A]](name: String, layer: Layer, shape: SinkShape2[E, BufI])(implicit control: Control, tpe: StreamType[A, E]) extends Handlers[SinkShape2[E, BufI]]

Common building block for Poll and Progress.

trait Node
class GraphStageLogic
class Object
trait Matchable
class Any

Type members

Inherited classlikes

class SubSinkInlet[T]
Inherited from
GraphStageLogic
Inherited from
GraphStageLogic

Deprecated and Inherited classlikes

@deprecated("Should move to using Handlers", since = "2.35.1")
abstract
class InHandlerImpl[A, E <: BufElem[A]](in: Inlet[E])
Deprecated
[Since version 2.35.1]
Inherited from
NodeImpl

Value members

Abstract methods

protected
def trigger(buf: Array[A], off: Int): Unit

Concrete methods

protected
def onDone(inlet: Inlet[_]): Unit
final
def process(): Unit

Inherited methods

final
def async(body: => Unit): Unit
Inherited from
NodeImpl
final
def cancelStage(cause: Throwable): Unit
Inherited from
GraphStageLogic
def completeAsync(): Future[Unit]
Inherited from
NodeImpl
final
def completeStage(): Unit
Inherited from
GraphStageLogic
final
def failAsync(ex: Exception): Unit
Inherited from
NodeImpl
final
def failStage(ex: Throwable): Unit
Inherited from
GraphStageLogic
final
def getAsyncCallback[T](handler: T => Unit): AsyncCallback[T]
Inherited from
GraphStageLogic
final
def grabIn[A](in: Inlet[A]): A

Workaround for Dotty

Workaround for Dotty

Inherited from
NodeImpl
final
def isAvailable[T](out: Outlet[T]): Boolean
Inherited from
GraphStageLogic
final
def isInAvailable[A](inlet: Inlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from
NodeImpl
final
def isInClosed[A](inlet: Inlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from
NodeImpl
final
def isOutAvailable[A](outlet: Outlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from
NodeImpl
final
def isOutClosed[A](outlet: Outlet[A]): Boolean

Workaround for Dotty

Workaround for Dotty

Inherited from
NodeImpl
protected
def launch(): Unit
Inherited from
NodeImpl
final
def launchAsync(): Future[Unit]
Inherited from
NodeImpl
final protected
def notifyFail(ex: Throwable): Unit
Inherited from
NodeImpl
final override
def postStop(): Unit

Calls stopped and then removes the node from the control.

Calls stopped and then removes the node from the control.

Definition Classes
Inherited from
Node
final override
def preStart(): Unit

Final so we don't accidentally place code here. In order to initialize state, use NodeHasInitImpl and implement init.

Final so we don't accidentally place code here. In order to initialize state, use NodeHasInitImpl and implement init.

Definition Classes
Inherited from
Node
final
def pushOut[A](out: Outlet[A], elem: A): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from
NodeImpl
final
def setInHandler[A](in: Inlet[A], handler: InHandler): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from
NodeImpl
final
def setOutHandler[A](out: Outlet[A], handler: OutHandler): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from
NodeImpl
final
def stageActor: StageActor
Inherited from
GraphStageLogic
override
def toString: String
Definition Classes
NodeImpl -> GraphStageLogic -> Any
Inherited from
NodeImpl
final
def tryPullIn[A](in: Inlet[A]): Unit

Workaround for Dotty

Workaround for Dotty

Inherited from
NodeImpl