Running a flow graph will require execution resources, as will computations within Sources, Sinks, etc.
Running a flow graph will require execution resources, as will computations within Sources, Sinks, etc. This scala.concurrent.ExecutionContextExecutor can be used by parts of the flow to submit processing jobs for execution, run Future callbacks, etc.
Note that this is not necessarily the same execution context the stream operator itself is running on.
Indicates if the materializer has been shut down.
This method interprets the given Flow description and creates the running stream using an explicitly provided Attributes as top level (least specific) attributes that will be defaults for the materialized stream.
This method interprets the given Flow description and creates the running stream using an explicitly provided Attributes as top level (least specific) attributes that will be defaults for the materialized stream. The result can be highly implementation specific, ranging from local actor chains to remote-deployed processing networks.
This method interprets the given Flow description and creates the running stream.
This method interprets the given Flow description and creates the running stream. The result can be highly implementation specific, ranging from local actor chains to remote-deployed processing networks.
Interface for operators that need timer services for their functionality.
Interface for operators that need timer services for their functionality. Schedules a single task with the given delay.
A akka.actor.Cancellable that allows cancelling the timer. Cancelling is best effort, if the event has been already enqueued it will not have an effect.
Interface for operators that need timer services for their functionality.
Interface for operators that need timer services for their functionality. Schedules a repeated task with the given interval between invocations.
A akka.actor.Cancellable that allows cancelling the timer. Cancelling is best effort, if the event has been already enqueued it will not have an effect.
Shuts down this materializer and all the operators that have been materialized through this materializer.
Shuts down this materializer and all the operators that have been materialized through this materializer. After having shut down, this materializer cannot be used again. Any attempt to materialize operators after having shut down will result in an IllegalStateException being thrown at materialization time.
INTERNAL API
The namePrefix
shall be used for deriving the names of processing
entities that are created during materialization.
The namePrefix
shall be used for deriving the names of processing
entities that are created during materialization. This is meant to aid
logging and failure reporting both during materialization and while the
stream is running.
An ActorMaterializer takes a stream blueprint and turns it into a running stream.