o

akka.stream.javadsl

StreamRefs

object StreamRefs

API MAY CHANGE: The functionality of stream refs is working, however it is expected that the materialized value will eventually be able to remove the Future wrapping the stream references. For this reason the API is now marked as API may change. See ticket https://github.com/akka/akka/issues/24372 for more details.

Factories for creating stream refs.

Annotations
@ApiMayChange()
Source
StreamRefs.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamRefs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def sinkRef[T](): Source[T, CompletionStage[SinkRef[T]]]

    A local Sink which materializes a SourceRef 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 local Sink which materializes a SourceRef 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.

    Annotations
    @ApiMayChange()
  2. def sourceRef[T](): Sink[T, CompletionStage[SourceRef[T]]]

    A local Sink which materializes a SourceRef 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 local Sink which materializes a SourceRef 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.

    Annotations
    @ApiMayChange()