Package org.apache.pekko.stream.javadsl
Class StreamRefs$
java.lang.Object
org.apache.pekko.stream.javadsl.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 localSink
which materializes aSourceRef
which 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 localSink
which materializes aSourceRef
which 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.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
StreamRefs$
public StreamRefs$()
-
-
Method Details
-
sourceRef
A localSink
which materializes aSourceRef
which 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 localSink
which materializes aSourceRef
which 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
.
-