Package org.apache.pekko.stream.javadsl
Class StreamRefs
java.lang.Object
org.apache.pekko.stream.javadsl.StreamRefs
Factories for creating stream refs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsinkRef()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 in the spot of the local Sink directly.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 in the spot of the local Sink directly.
-
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 in the spot of the local Sink directly.Adheres to
StreamRefAttributes.See more detailed documentation on
SourceRef. -
sinkRef
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 in the spot of the local Sink directly.Adheres to
StreamRefAttributes.See more detailed documentation on
SinkRef.
-