Package org.apache.pekko.stream.scaladsl
Class StreamRefs$
java.lang.Object
org.apache.pekko.stream.scaladsl.StreamRefs$
Factories for creating stream refs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StreamRefs$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsinkRef()A localSourcewhich materializes aSinkRefwhich can be used by other streams (including remote ones), to publish data to this local stream, as if they were attached directly in place of the local Source.A localSinkwhich materializes aSourceRefwhich can be used by other streams (including remote ones), to consume data from this local stream, as if they were attached directly in place of the local Sink.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
StreamRefs$
public StreamRefs$()
-
-
Method Details
-
sourceRef
A localSinkwhich materializes aSourceRefwhich can be used by other streams (including remote ones), to consume data from this local stream, as if they were attached directly in place of the local Sink.Adheres to
pekko.stream.StreamRefAttributes.See more detailed documentation on
SourceRef. -
sinkRef
A localSourcewhich materializes aSinkRefwhich can be used by other streams (including remote ones), to publish data to this local stream, as if they were attached directly in place of the local Source.Adheres to
pekko.stream.StreamRefAttributes.See more detailed documentation on
SinkRef.
-