PollImpl

abstract class PollImpl[A](name: String, layer: Layer, shape: SinkShape2[E[A], I])(implicit a: Allocator, tpe: DataType[A]) extends Handlers[SinkShape2[E[A], I]]

Common building block for Poll and Progress.

class Handlers[SinkShape2[E[A], I]]
class NodeImpl[SinkShape2[E[A], I]]
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](in: In[A]) extends InHandler
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

Invoked by Akka after processing of external events stopped because the operator is about to stop or fail. Calls stopped and then removes the node from the control.

Invoked by Akka after processing of external events stopped because the operator is about to stop or fail. 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

Implicits

Inherited implicits

final implicit override val allocator: Allocator
Inherited from:
NodeImpl
final implicit override val control: Control
Inherited from:
NodeImpl