Package

akka.stream

contrib

Permalink

package contrib

Visibility
  1. Public
  2. All

Type Members

  1. final class Accumulate[A, B] extends GraphStage[FlowShape[A, B]]

    Permalink

    This stage emits folded values like scan, but the first element emitted is not the zero value but the result of applying the given function to the given zero value and the first pushed element.

    This stage emits folded values like scan, but the first element emitted is not the zero value but the result of applying the given function to the given zero value and the first pushed element.

    A

    input type

    B

    output type

  2. final class AccumulateWhileUnchanged[Element, Property] extends GraphStage[FlowShape[Element, Seq[Element]]]

    Permalink

    Accumulates elements of type Element while a property extracted with propertyExtractor remains unchanged, emits an accumulated sequence when the property changes

    Accumulates elements of type Element while a property extracted with propertyExtractor remains unchanged, emits an accumulated sequence when the property changes

    Element

    type of accumulated elements

    Property

    type of the observed property

  3. final class DirectoryChanges extends GraphStage[SourceShape[Pair[Path, Change]]]

    Permalink
  4. final class FileTailSource extends GraphStage[SourceShape[ByteString]]

    Permalink
  5. final class LastElement[A] extends GraphStageWithMaterializedValue[FlowShape[A, A], Future[Option[A]]]

    Permalink

    This stage materializes to the last element pushed before upstream completion, if any, thereby recovering from any failure.

    This stage materializes to the last element pushed before upstream completion, if any, thereby recovering from any failure. Pushed elements are just passed along.

    A

    input and output type

  6. final class PartitionWith[In, Out0, Out1] extends GraphStage[FanOutShape2[In, Out0, Out1]]

    Permalink

    This stage partitions input to 2 different outlets, applying different transformations on the elements, according to the received partition function.

    This stage partitions input to 2 different outlets, applying different transformations on the elements, according to the received partition function.

    In

    input type

    Out0

    left output type

    Out1

    right output type

  7. trait TimedIntervalBetweenOps extends AnyRef

    Permalink

    Provides operations needed to implement the timedIntervalBetween DSL

  8. trait TimedOps extends AnyRef

    Permalink

    Provides operations needed to implement the timed DSL

  9. final class ZipInputStreamSource extends GraphStageWithMaterializedValue[SourceShape[(ZipEntryData, ByteString)], Future[Long]]

    Permalink

    A stage that works as a Source of data chunks extracted from zip files.

    A stage that works as a Source of data chunks extracted from zip files. In addition to regular files, the zip file might contain directories and other zip files. Every chunk is a tuple of ZipEntryData and ByteString, where the former carries basic info about the file from which the bytes come and the latter carries those bytes. This stage materializes to the total amount of read bytes.

Value Members

  1. object Accumulate

    Permalink

    This companion defines a factory for Accumulate instances, see Accumulate.apply.

  2. object AccumulateWhileUnchanged

    Permalink
  3. object Implicits

    Permalink

    Additional akka.stream.scaladsl.Flow and akka.stream.scaladsl.Flow operators.

  4. object LastElement

    Permalink

    This companion defines a factory for LastElement instances, see LastElement.apply.

  5. object PartitionWith

    Permalink

    This companion defines a factory for PartitionWith instances, see PartitionWith.apply.

  6. object Retry

    Permalink

    This object defines a factory methods for retry operaions.

  7. object Timed extends TimedOps with TimedIntervalBetweenOps

    Permalink
  8. object ZipInputStreamSource

    Permalink

    This companion defines a factory for ZipInputStreamSource instances, see ZipInputStreamSource.apply.

Ungrouped