Package

akka

stream

Permalink

package stream

Content Hierarchy
FanOutShape22[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11, O12, O13, O14, O15, O16, O17, O18, O19, O20, O21]FanOutShape21[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11, O12, O13, O14, O15, O16, O17, O18, O19, O20]FanOutShape20[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11, O12, O13, O14, O15, O16, O17, O18, O19]FanOutShape19[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11, O12, O13, O14, O15, O16, O17, O18]FanOutShape18[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11, O12, O13, O14, O15, O16, O17]FanOutShape17[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11, O12, O13, O14, O15, O16]FanOutShape16[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11, O12, O13, O14, O15]FanOutShape15[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11, O12, O13, O14]FanOutShape14[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11, O12, O13]FanOutShape13[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11, O12]FanOutShape12[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10, O11]FanOutShape11[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9, O10]FanOutShape10[I, O0, O1, O2, O3, O4, O5, O6, O7, O8, O9]FanOutShape9[I, O0, O1, O2, O3, O4, O5, O6, O7, O8]FanOutShape8[I, O0, O1, O2, O3, O4, O5, O6, O7]FanOutShape7[I, O0, O1, O2, O3, O4, O5, O6]FanOutShape6[I, O0, O1, O2, O3, O4, O5]FanOutShape5[I, O0, O1, O2, O3, O4]FanOutShape4[I, O0, O1, O2, O3]FanOutShape3[I, O0, O1, O2]FanOutShape2[I, O0, O1]FanInShape22[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, O]FanInShape21[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, O]FanInShape20[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, O]FanInShape19[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, O]FanInShape18[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, O]FanInShape17[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, O]FanInShape16[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, O]FanInShape15[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, O]FanInShape14[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, O]FanInShape13[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, O]FanInShape12[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, O]FanInShape11[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, O]FanInShape10[T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, O]FanInShape9[T0, T1, T2, T3, T4, T5, T6, T7, T8, O]FanInShape8[T0, T1, T2, T3, T4, T5, T6, T7, O]FanInShape7[T0, T1, T2, T3, T4, T5, T6, O]FanInShape6[T0, T1, T2, T3, T4, T5, O]FanInShape5[T0, T1, T2, T3, T4, O]FanInShape4[T0, T1, T2, T3, O]FanInShape3[T0, T1, T2, O]FanInShape2[T0, T1, O]UniformFanOutShape[I, O]UniformFanInShape[T, O]ConnectionExceptionBindFailedExceptionBindFailedExceptionStreamTcpExceptionIgnoreBothIgnoreBothIgnoreCompleteIgnoreCompleteIgnoreCancelIgnoreCancelEagerCloseEagerCloseTLSClosingServerServerClientClientTLSRoleBidiShape[In1, Out1, In2, Out2]SinkShape[T]FlowShape[I, O]SourceShape[T]AmorphousShapeClosedShapeClosedShapeAbstractShapeShapeFanOutShape[I]FanInShape[O]Outlet[T]Inlet[T]OutPortInPortOverflowStrategyDelayOverflowStrategyMaterializerLoggingProviderActorMaterializerMaterializerSharedKillSwitchUniqueKillSwitchKillSwitchFanInShape1N[T0, T1, O]
Visibility
  1. Public
  2. All

Type Members

  1. final class AbruptStageTerminationException extends RuntimeException with NoStackTrace

    Permalink

    Signal that the stage was abruptly terminated, usually seen as a call to postStop of the GraphStageLogic without any of the handler callbacks seeing completion or failure from upstream or cancellation from downstream.

    Signal that the stage was abruptly terminated, usually seen as a call to postStop of the GraphStageLogic without any of the handler callbacks seeing completion or failure from upstream or cancellation from downstream. This can happen when the actor running the graph is killed, which happens when the materializer or actor system is terminated.

  2. final case class AbruptTerminationException(actor: ActorRef) extends RuntimeException with NoStackTrace with Product with Serializable

    Permalink

    This exception signals that an actor implementing a Reactive Streams Subscriber, Publisher or Processor has been terminated without being notified by an onError, onComplete or cancel signal.

    This exception signals that an actor implementing a Reactive Streams Subscriber, Publisher or Processor has been terminated without being notified by an onError, onComplete or cancel signal. This usually happens when an ActorSystem is shut down while stream processing actors are still running.

  3. abstract class AbstractShape extends Shape

    Permalink

    Java API for creating custom Shape types.

  4. abstract class ActorMaterializer extends Materializer with MaterializerLoggingProvider

    Permalink

    An ActorMaterializer takes the list of transformations comprising a akka.stream.scaladsl.Flow and materializes them in the form of org.reactivestreams.Processor instances.

    An ActorMaterializer takes the list of transformations comprising a akka.stream.scaladsl.Flow and materializes them in the form of org.reactivestreams.Processor instances. How transformation steps are split up into asynchronous regions is implementation dependent.

  5. final class ActorMaterializerSettings extends AnyRef

    Permalink

    This class describes the configurable properties of the ActorMaterializer.

    This class describes the configurable properties of the ActorMaterializer. Please refer to the withX methods for descriptions of the individual settings.

  6. case class AmorphousShape(inlets: Seq[Inlet[_]], outlets: Seq[Outlet[_]]) extends Shape with Product with Serializable

    Permalink

    This type of Shape can express any number of inputs and outputs at the expense of forgetting about their specific types.

    This type of Shape can express any number of inputs and outputs at the expense of forgetting about their specific types. It is used mainly in the implementation of the Graph builders and typically replaced by a more meaningful type of Shape when the building is finished.

  7. final case class Attributes(attributeList: List[Attribute] = Nil) extends Product with Serializable

    Permalink

    Holds attributes which can be used to alter akka.stream.scaladsl.Flow / akka.stream.javadsl.Flow or akka.stream.scaladsl.GraphDSL / akka.stream.javadsl.GraphDSL materialization.

    Holds attributes which can be used to alter akka.stream.scaladsl.Flow / akka.stream.javadsl.Flow or akka.stream.scaladsl.GraphDSL / akka.stream.javadsl.GraphDSL materialization.

    Note that more attributes for the ActorMaterializer are defined in ActorAttributes.

    The attributeList is ordered with the most specific attribute first, least specific last. Note that the order was the opposite in Akka 2.4.x.

  8. final case class BidiShape[-In1, +Out1, -In2, +Out2](in1: Inlet[In1], out1: Outlet[Out1], in2: Inlet[In2], out2: Outlet[Out2]) extends Shape with Product with Serializable

    Permalink

    A bidirectional flow of elements that consequently has two inputs and two outputs, arranged like this:

    A bidirectional flow of elements that consequently has two inputs and two outputs, arranged like this:

           +------+
     In1 ~>|      |~> Out1
           | bidi |
    Out2 <~|      |<~ In2
           +------+
  9. class BindFailedException extends StreamTcpException

    Permalink
  10. final case class BufferOverflowException(msg: String) extends RuntimeException with Product with Serializable

    Permalink
  11. sealed abstract class Client extends TLSRole

    Permalink

    The client is usually the side that consumes the service provided by its interlocutor.

    The client is usually the side that consumes the service provided by its interlocutor. The precise interpretation of this role is protocol specific.

  12. sealed abstract class ClosedShape extends Shape

    Permalink

    This Shape is used for graphs that have neither open inputs nor open outputs.

    This Shape is used for graphs that have neither open inputs nor open outputs. Only such a Graph can be materialized by a Materializer.

  13. class ConnectionException extends StreamTcpException

    Permalink
  14. sealed abstract class DelayOverflowStrategy extends Serializable

    Permalink

    Represents a strategy that decides how to deal with a buffer of time based stage that is full but is about to receive a new element.

  15. sealed abstract class EagerClose extends TLSClosing

    Permalink

    see TLSClosing

  16. abstract class FanInShape[+O] extends Shape

    Permalink
  17. class FanInShape10[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, +O] extends FanInShape[O]

    Permalink
  18. class FanInShape11[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, +O] extends FanInShape[O]

    Permalink
  19. class FanInShape12[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, +O] extends FanInShape[O]

    Permalink
  20. class FanInShape13[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, +O] extends FanInShape[O]

    Permalink
  21. class FanInShape14[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, +O] extends FanInShape[O]

    Permalink
  22. class FanInShape15[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, +O] extends FanInShape[O]

    Permalink
  23. class FanInShape16[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, +O] extends FanInShape[O]

    Permalink
  24. class FanInShape17[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, +O] extends FanInShape[O]

    Permalink
  25. class FanInShape18[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, +O] extends FanInShape[O]

    Permalink
  26. class FanInShape19[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, +O] extends FanInShape[O]

    Permalink
  27. class FanInShape2[-T0, -T1, +O] extends FanInShape[O]

    Permalink
  28. class FanInShape20[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, +O] extends FanInShape[O]

    Permalink
  29. class FanInShape21[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, +O] extends FanInShape[O]

    Permalink
  30. class FanInShape22[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, -T9, -T10, -T11, -T12, -T13, -T14, -T15, -T16, -T17, -T18, -T19, -T20, -T21, +O] extends FanInShape[O]

    Permalink
  31. class FanInShape3[-T0, -T1, -T2, +O] extends FanInShape[O]

    Permalink
  32. class FanInShape4[-T0, -T1, -T2, -T3, +O] extends FanInShape[O]

    Permalink
  33. class FanInShape5[-T0, -T1, -T2, -T3, -T4, +O] extends FanInShape[O]

    Permalink
  34. class FanInShape6[-T0, -T1, -T2, -T3, -T4, -T5, +O] extends FanInShape[O]

    Permalink
  35. class FanInShape7[-T0, -T1, -T2, -T3, -T4, -T5, -T6, +O] extends FanInShape[O]

    Permalink
  36. class FanInShape8[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, +O] extends FanInShape[O]

    Permalink
  37. class FanInShape9[-T0, -T1, -T2, -T3, -T4, -T5, -T6, -T7, -T8, +O] extends FanInShape[O]

    Permalink
  38. abstract class FanOutShape[-I] extends Shape

    Permalink
  39. class FanOutShape10[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9] extends FanOutShape[I]

    Permalink
  40. class FanOutShape11[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10] extends FanOutShape[I]

    Permalink
  41. class FanOutShape12[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10, +O11] extends FanOutShape[I]

    Permalink
  42. class FanOutShape13[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10, +O11, +O12] extends FanOutShape[I]

    Permalink
  43. class FanOutShape14[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10, +O11, +O12, +O13] extends FanOutShape[I]

    Permalink
  44. class FanOutShape15[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10, +O11, +O12, +O13, +O14] extends FanOutShape[I]

    Permalink
  45. class FanOutShape16[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10, +O11, +O12, +O13, +O14, +O15] extends FanOutShape[I]

    Permalink
  46. class FanOutShape17[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10, +O11, +O12, +O13, +O14, +O15, +O16] extends FanOutShape[I]

    Permalink
  47. class FanOutShape18[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10, +O11, +O12, +O13, +O14, +O15, +O16, +O17] extends FanOutShape[I]

    Permalink
  48. class FanOutShape19[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10, +O11, +O12, +O13, +O14, +O15, +O16, +O17, +O18] extends FanOutShape[I]

    Permalink
  49. class FanOutShape2[-I, +O0, +O1] extends FanOutShape[I]

    Permalink
  50. class FanOutShape20[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10, +O11, +O12, +O13, +O14, +O15, +O16, +O17, +O18, +O19] extends FanOutShape[I]

    Permalink
  51. class FanOutShape21[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10, +O11, +O12, +O13, +O14, +O15, +O16, +O17, +O18, +O19, +O20] extends FanOutShape[I]

    Permalink
  52. class FanOutShape22[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8, +O9, +O10, +O11, +O12, +O13, +O14, +O15, +O16, +O17, +O18, +O19, +O20, +O21] extends FanOutShape[I]

    Permalink
  53. class FanOutShape3[-I, +O0, +O1, +O2] extends FanOutShape[I]

    Permalink
  54. class FanOutShape4[-I, +O0, +O1, +O2, +O3] extends FanOutShape[I]

    Permalink
  55. class FanOutShape5[-I, +O0, +O1, +O2, +O3, +O4] extends FanOutShape[I]

    Permalink
  56. class FanOutShape6[-I, +O0, +O1, +O2, +O3, +O4, +O5] extends FanOutShape[I]

    Permalink
  57. class FanOutShape7[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6] extends FanOutShape[I]

    Permalink
  58. class FanOutShape8[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7] extends FanOutShape[I]

    Permalink
  59. class FanOutShape9[-I, +O0, +O1, +O2, +O3, +O4, +O5, +O6, +O7, +O8] extends FanOutShape[I]

    Permalink
  60. trait FlowMonitor[+T] extends AnyRef

    Permalink

    Used to monitor the state of a stream

    Used to monitor the state of a stream

    T

    Type of messages passed by the stream

  61. final case class FlowShape[-I, +O](in: Inlet[I], out: Outlet[O]) extends Shape with Product with Serializable

    Permalink

    A Flow Shape has exactly one input and one output, it looks from the outside like a pipe (but it can be a complex topology of streams within of course).

  62. trait Graph[+S <: Shape, +M] extends AnyRef

    Permalink
  63. final case class IOResult(count: Long, status: Try[Done]) extends Product with Serializable

    Permalink

    Holds a result of an IO operation.

    Holds a result of an IO operation.

    count

    Numeric value depending on context, for example IO operations performed or bytes processed.

    status

    Status of the result. Can be either akka.Done or an exception.

  64. sealed abstract class IgnoreBoth extends TLSClosing

    Permalink

    see TLSClosing

  65. sealed abstract class IgnoreCancel extends TLSClosing

    Permalink

    see TLSClosing

  66. sealed abstract class IgnoreComplete extends TLSClosing

    Permalink

    see TLSClosing

  67. sealed abstract class InPort extends AnyRef

    Permalink

    An input port of a StreamLayout.Module.

    An input port of a StreamLayout.Module. This type logically belongs into the impl package but must live here due to how sealed works. It is also used in the Java DSL for “untyped Inlets” as a work-around for otherwise unreasonable existential types.

  68. final class Inlet[T] extends InPort

    Permalink
  69. trait KillSwitch extends AnyRef

    Permalink

    A KillSwitch allows completion of Graphs from the outside by completing Graphs of FlowShape linked to the switch.

    A KillSwitch allows completion of Graphs from the outside by completing Graphs of FlowShape linked to the switch. Depending on whether the KillSwitch is a UniqueKillSwitch or a SharedKillSwitch one or multiple streams might be linked with the switch. For details see the documentation of the concrete subclasses of this interface.

  70. case class MaterializationContext(materializer: Materializer, effectiveAttributes: Attributes, islandName: String) extends Product with Serializable

    Permalink

    Context parameter to the create methods of sources and sinks.

  71. class MaterializationException extends RuntimeException

    Permalink

    This exception or subtypes thereof should be used to signal materialization failures.

  72. abstract class Materializer extends AnyRef

    Permalink

    Materializer SPI (Service Provider Interface)

    Materializer SPI (Service Provider Interface)

    Binary compatibility is NOT guaranteed on materializer internals.

    Custom materializer implementations should be aware that the materializer SPI is not yet final and may change in patch releases of Akka. Please note that this does not impact end-users of Akka streams, only implementors of custom materializers, with whom the Akka team co-ordinates such changes.

    Once the SPI is final this notice will be removed.

  73. trait MaterializerLoggingProvider extends AnyRef

    Permalink

    SPI intended only to be extended by custom Materializer implementations, that also want to provide stages they materialize with specialized akka.event.LoggingAdapter instances.

  74. sealed abstract class OutPort extends AnyRef

    Permalink

    An output port of a StreamLayout.Module.

    An output port of a StreamLayout.Module. This type logically belongs into the impl package but must live here due to how sealed works. It is also used in the Java DSL for “untyped Outlets” as a work-around for otherwise unreasonable existential types.

  75. final class Outlet[T] extends OutPort

    Permalink
  76. sealed abstract class OverflowStrategy extends DelayOverflowStrategy

    Permalink

    Represents a strategy that decides how to deal with a buffer that is full but is about to receive a new element.

  77. sealed abstract class QueueOfferResult extends AnyRef

    Permalink
  78. class RateExceededException extends RuntimeException

    Permalink

    Exception that is thrown when rated controlled by stream is exceeded

  79. sealed abstract class Server extends TLSRole

    Permalink

    The server is usually the side the provides the service to its interlocutor.

    The server is usually the side the provides the service to its interlocutor. The precise interpretation of this role is protocol specific.

  80. abstract class Shape extends AnyRef

    Permalink

    A Shape describes the inlets and outlets of a Graph.

    A Shape describes the inlets and outlets of a Graph. In keeping with the philosophy that a Graph is a freely reusable blueprint, everything that matters from the outside are the connections that can be made with it, otherwise it is just a black box.

  81. final class SharedKillSwitch extends KillSwitch

    Permalink

    A SharedKillSwitch is a provider for Graphs of FlowShape that can be completed or failed from the outside.

    A SharedKillSwitch is a provider for Graphs of FlowShape that can be completed or failed from the outside. A Graph returned by the switch can be materialized arbitrary amount of times: every newly materialized Graph belongs to the switch from which it was acquired. Multiple SharedKillSwitch instances are isolated from each other, shutting down or aborting on instance does not affect the Graphs provided by another instance.

    After calling SharedKillSwitch#shutdown() all materialized, running instances of all Graphs provided by the SharedKillSwitch will complete their downstreams and cancel their upstreams (unless if finished or failed already in which case the command is ignored). Subsequent invocations of SharedKillSwitch#shutdown() and SharedKillSwitch#abort() will be ignored.

    After calling SharedKillSwitch#abort() all materialized, running instances of all Graphs provided by the SharedKillSwitch will fail their downstreams with the provided exception and cancel their upstreams (unless it finished or failed already in which case the command is ignored). Subsequent invocations of SharedKillSwitch#shutdown() and SharedKillSwitch#abort() will be ignored.

    The Graphs provided by the SharedKillSwitch do not modify the passed through elements in any way or affect backpressure in the stream. All provided Graphs provide the parent SharedKillSwitch as materialized value.

    This class is thread-safe, the instance can be passed safely among threads and its methods may be invoked concurrently.

  82. final case class SinkShape[-T](in: Inlet[T]) extends Shape with Product with Serializable

    Permalink

    A Sink Shape has exactly one input and no outputs, it models a data sink.

  83. final case class SourceShape[+T](out: Outlet[T]) extends Shape with Product with Serializable

    Permalink

    A Source Shape has exactly one output and no inputs, it models a source of data.

  84. final class StreamDetachedException extends RuntimeException with NoStackTrace

    Permalink

    This exception signals that materialized value is already detached from stream.

    This exception signals that materialized value is already detached from stream. This usually happens when stream is completed and an ActorSystem is shut down while materialized object is still available.

  85. class StreamLimitReachedException extends RuntimeException

    Permalink
  86. final class StreamSubscriptionTimeoutSettings extends AnyRef

    Permalink

    Leaked publishers and subscribers are cleaned up when they are not used within a given deadline, configured by StreamSubscriptionTimeoutSettings.

  87. sealed abstract class StreamSubscriptionTimeoutTerminationMode extends AnyRef

    Permalink

    This mode describes what shall happen when the subscription timeout expires for substream Publishers created by operations like prefixAndTail.

  88. class StreamTcpException extends RuntimeException with NoStackTrace

    Permalink
  89. sealed abstract class SubstreamCancelStrategy extends AnyRef

    Permalink

    Represents a strategy that decides how to deal with substream events.

  90. sealed abstract class TLSClientAuth extends AnyRef

    Permalink

    An SSLEngine can either demand, allow or ignore its peer’s authentication (via certificates), where Need will fail the handshake if the peer does not provide valid credentials, Want allows the peer to send credentials and verifies them if provided, and None disables peer certificate verification.

    An SSLEngine can either demand, allow or ignore its peer’s authentication (via certificates), where Need will fail the handshake if the peer does not provide valid credentials, Want allows the peer to send credentials and verifies them if provided, and None disables peer certificate verification.

    See the documentation for SSLEngine::setWantClientAuth for more information.

  91. sealed abstract class TLSClosing extends AnyRef

    Permalink

    All streams in Akka are unidirectional: while in a complex flow graph data may flow in multiple directions these individual flows are independent from each other.

    All streams in Akka are unidirectional: while in a complex flow graph data may flow in multiple directions these individual flows are independent from each other. The difference between two half-duplex connections in opposite directions and a full-duplex connection is that the underlying transport is shared in the latter and tearing it down will end the data transfer in both directions.

    When integrating a full-duplex transport medium that does not support half-closing (which means ending one direction of data transfer without ending the other) into a stream topology, there can be unexpected effects. Feeding a finite Source into this medium will close the connection after all elements have been sent, which means that possible replies may not be received in full. To support this type of usage, the sending and receiving of data on the same side (e.g. on the Client) need to be coordinated such that it is known when all replies have been received. Only then should the transport be shut down.

    To support these scenarios it is recommended that the full-duplex transport integration is configurable in terms of termination handling, which means that the user can optionally suppress the normal (closing) reaction to completion or cancellation events, as is expressed by the possible values of this type:

    • EagerClose means to not ignore signals
    • IgnoreCancel means to not react to cancellation of the receiving side unless the sending side has already completed
    • IgnoreComplete means to not react to the completion of the sending side unless the receiving side has already canceled
    • IgnoreBoth means to ignore the first termination signal—be that cancellation or completion—and only act upon the second one
  92. sealed abstract class TLSRole extends AnyRef

    Permalink
  93. sealed abstract class ThrottleMode extends AnyRef

    Permalink

    Represents a mode that decides how to deal exceed rate for Throttle combinator

  94. class UniformFanInShape[-T, +O] extends FanInShape[O]

    Permalink
  95. class UniformFanOutShape[-I, +O] extends FanOutShape[I]

    Permalink
  96. final class UniqueKillSwitch extends KillSwitch

    Permalink

    A UniqueKillSwitch is always a result of a materialization (unlike SharedKillSwitch which is constructed before any materialization) and it always controls that graph and stage which yielded the materialized value.

    A UniqueKillSwitch is always a result of a materialization (unlike SharedKillSwitch which is constructed before any materialization) and it always controls that graph and stage which yielded the materialized value.

    After calling UniqueKillSwitch#shutdown() the running instance of the Graph of FlowShape that materialized to the UniqueKillSwitch will complete its downstream and cancel its upstream (unless if finished or failed already in which case the command is ignored). Subsequent invocations of completion commands will be ignored.

    After calling UniqueKillSwitch#abort() the running instance of the Graph of FlowShape that materialized to the UniqueKillSwitch will fail its downstream with the provided exception and cancel its upstream (unless if finished or failed already in which case the command is ignored). Subsequent invocations of completion commands will be ignored.

    It is also possible to individually cancel, complete or fail upstream and downstream parts by calling the corresponding methods.

  97. class FanInShape1N[-T0, -T1, +O] extends FanInShape[O]

    Permalink
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version 2.5.5) FanInShape1N was removed because it was not used anywhere. Use a custom shape extending from FanInShape directly.

Value Members

  1. object ActorAttributes

    Permalink

    Attributes for the ActorMaterializer.

    Attributes for the ActorMaterializer. Note that more attributes defined in Attributes.

  2. object ActorMaterializer

    Permalink
  3. object ActorMaterializerSettings

    Permalink
  4. object Attributes extends Serializable

    Permalink

    Note that more attributes for the ActorMaterializer are defined in ActorAttributes.

  5. object BidiShape extends Serializable

    Permalink
  6. object Client extends Client with Product with Serializable

    Permalink
  7. object ClosedShape extends ClosedShape

    Permalink
  8. object DelayOverflowStrategy extends Serializable

    Permalink
  9. object EagerClose extends EagerClose with Product with Serializable

    Permalink
  10. object FanInShape

    Permalink
  11. object FanOutShape

    Permalink
  12. object FlowMonitorState

    Permalink
  13. object FlowShape extends Serializable

    Permalink
  14. object IOResult extends Serializable

    Permalink
  15. object IgnoreBoth extends IgnoreBoth with Product with Serializable

    Permalink
  16. object IgnoreCancel extends IgnoreCancel with Product with Serializable

    Permalink
  17. object IgnoreComplete extends IgnoreComplete with Product with Serializable

    Permalink
  18. object Inlet

    Permalink

    An Inlet is a typed input to a Shape.

    An Inlet is a typed input to a Shape. Its partner in the Module view is the InPort (which does not bear an element type because Modules only express the internal structural hierarchy of stream topologies).

  19. object KillSwitches

    Permalink

    Creates shared or single kill switches which can be used to control completion of graphs from the outside.

    Creates shared or single kill switches which can be used to control completion of graphs from the outside.

    • The factory shared() returns a SharedKillSwitch which provides a Graph of FlowShape that can be used in arbitrary number of graphs and materializations. The switch simultaneously controls completion in all of those graphs.
    • The factory single() returns a Graph of FlowShape that materializes to a UniqueKillSwitch which is always unique to that materialized Flow itself.

    Creates a SharedKillSwitch that can be used to externally control the completion of various streams.

  20. object Outlet

    Permalink

    An Outlet is a typed output to a Shape.

    An Outlet is a typed output to a Shape. Its partner in the Module view is the OutPort (which does not bear an element type because Modules only express the internal structural hierarchy of stream topologies).

  21. object OverflowStrategy extends Serializable

    Permalink
  22. object QueueOfferResult

    Permalink

    Contains types that is used as return types for async callbacks to streams

  23. object Server extends Server with Product with Serializable

    Permalink
  24. object SinkShape extends Serializable

    Permalink
  25. object SourceShape extends Serializable

    Permalink
  26. object StreamSubscriptionTimeoutSettings

    Permalink
  27. object StreamSubscriptionTimeoutTerminationMode

    Permalink
  28. object SubstreamCancelStrategy

    Permalink
  29. object Supervision

    Permalink
  30. object TLSClientAuth

    Permalink
  31. object TLSClosing

    Permalink
  32. object TLSProtocol

    Permalink
  33. object TLSRole

    Permalink

    Many protocols are asymmetric and distinguish between the client and the server, where the latter listens passively for messages and the former actively initiates the exchange.

  34. object ThrottleMode

    Permalink
  35. object UniformFanInShape

    Permalink
  36. object UniformFanOutShape

    Permalink
  37. package actor

    Permalink
  38. package extra

    Permalink
  39. package javadsl

    Permalink
  40. package scaladsl

    Permalink

    Scala API: The flow DSL allows the formulation of stream transformations based on some input.

    Scala API: The flow DSL allows the formulation of stream transformations based on some input. The starting point is called Source and can be a collection, an iterator, a block of code which is evaluated repeatedly or a org.reactivestreams.Publisher. A flow with an attached input and open output is also a Source.

    A flow may also be defined without an attached input or output and that is then a Flow. The Flow can be connected to the Source later by using Source#via with the flow as argument, and it remains a Source.

    Transformations can be appended to Source and Flow with the operations defined in FlowOps. Each DSL element produces a new flow that can be further transformed, building up a description of the complete transformation pipeline.

    The termination point of a flow is called Sink and can for example be a Future or org.reactivestreams.Subscriber. A flow with an attached output and open input is also a Sink.

    If a flow has both an attached input and an attached output it becomes a RunnableGraph. In order to execute this pipeline the flow must be materialized by calling RunnableGraph#run on it.

    You can create your Source, Flow and Sink in any order and then wire them together before they are materialized by connecting them using Flow#via and Flow#to, or connecting them into a GraphDSL with fan-in and fan-out elements.

    See Reactive Streams for details on org.reactivestreams.Publisher and org.reactivestreams.Subscriber.

    It should be noted that the streams modeled by this library are “hot”, meaning that they asynchronously flow through a series of processors without detailed control by the user. In particular it is not predictable how many elements a given transformation step might buffer before handing elements downstream, which means that transformation functions may be invoked more often than for corresponding transformations on strict collections like List. *An important consequence* is that elements that were produced into a stream may be discarded by later processors, e.g. when using the #take combinator.

    By default every operation is executed within its own akka.actor.Actor to enable full pipelining of the chained set of computations. This behavior is determined by the akka.stream.Materializer which is required by those methods that materialize the Flow into a series of org.reactivestreams.Processor instances. The returned reactive stream is fully started and active.

  41. package stage

    Permalink

Deprecated Value Members

  1. object BindFailedException extends BindFailedException with Product with Serializable

    Permalink
    Annotations
    @deprecated
    Deprecated

    BindFailedException object will never be thrown. Match on the class instead.

Ungrouped