AbstractGraphStageWithMaterializedValue
Java API: A GraphStage represents a reusable graph stream processing operator.
Extend this AbstractGraphStageWithMaterializedValue if you want to provide a materialized value, represented by the type parameter M. If your GraphStage does not need to provide a materialized value you can instead extend GraphStage which materializes a NotUsed value.
A GraphStage consists of a Shape which describes its input and output ports and a factory function that creates a GraphStageLogic which implements the processing logic that ties the ports together.
See also GraphStageWithMaterializedValue for Scala DSL for this operator.
Attributes
- Source
- GraphStage.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Type members
Inherited types
Type-level accessor for the shape parameter of this graph.
Type-level accessor for the shape parameter of this graph.
Attributes
- Inherited from:
- Graph
- Source
- Graph.scala
Value members
Abstract methods
Attributes
- Source
- GraphStage.scala
Concrete methods
Attributes
- Source
- GraphStage.scala
Inherited methods
Add the given attributes to this Graph. If the specific attribute was already present on this graph this means the added attribute will be more specific than the existing one. If this Source is a composite of multiple graphs, new attributes on the composite will be less specific than attributes set directly on the individual graphs of the composite.
Add the given attributes to this Graph. If the specific attribute was already present on this graph this means the added attribute will be more specific than the existing one. If this Source is a composite of multiple graphs, new attributes on the composite will be less specific than attributes set directly on the individual graphs of the composite.
Attributes
- Inherited from:
- Graph
- Source
- Graph.scala
Put an asynchronous boundary around this Graph
Put an asynchronous boundary around this Graph
Value parameters
- dispatcher
-
Run the graph on this dispatcher
- inputBufferSize
-
Set the input buffer to this size for the graph
Attributes
- Inherited from:
- Graph
- Source
- Graph.scala
Put an asynchronous boundary around this Graph
Put an asynchronous boundary around this Graph
Value parameters
- dispatcher
-
Run the graph on this dispatcher
Attributes
- Inherited from:
- Graph
- Source
- Graph.scala
Put an asynchronous boundary around this Graph
Attributes
- Inherited from:
- Graph
- Source
- Graph.scala
Attributes
- Inherited from:
- GraphStageWithMaterializedValue
- Source
- GraphStage.scala
Specifies the name of the Graph. If the name is null or empty the name is ignored, i.e. Attributes.none is returned.
Specifies the name of the Graph. If the name is null or empty the name is ignored, i.e. Attributes.none is returned.
Attributes
- Inherited from:
- Graph
- Source
- Graph.scala
The shape of a graph is all that is externally visible: its inlets and outlets.
The shape of a graph is all that is externally visible: its inlets and outlets.
Attributes
- Inherited from:
- Graph
- Source
- Graph.scala
Replace the attributes of this Flow with the given ones. If this Flow is a composite of multiple graphs, new attributes on the composite will be less specific than attributes set directly on the individual graphs of the composite.
Replace the attributes of this Flow with the given ones. If this Flow is a composite of multiple graphs, new attributes on the composite will be less specific than attributes set directly on the individual graphs of the composite.
Attributes
- Definition Classes
- Inherited from:
- GraphStageWithMaterializedValue
- Source
- GraphStage.scala