NodeHasInit

trait NodeHasInit extends Node
trait Node
class Object
trait Matchable
class Any
GraphStageLogic

Value members

Abstract methods

def initAsync(): Future[Unit]

Inherited methods

def completeAsync(): Future[Unit]
Inherited from:
Node
def failAsync(ex: Exception): Unit
Inherited from:
Node
def launchAsync(): Future[Unit]
Inherited from:
Node
Inherited from:
Node
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
def shape: Shape
Inherited from:
Node
protected def stopped(): Unit

Subclasses can override this

Subclasses can override this

Inherited from:
Node

Implicits

Inherited implicits

implicit protected def allocator: Allocator
Inherited from:
Node
implicit protected def control: Control
Inherited from:
Node