o

akka.stream

ActorAttributes

object ActorAttributes

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

Source
Attributes.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActorAttributes
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class DebugLogging(enabled: Boolean) extends with Product with Serializable

    Enables additional low level troubleshooting logging at DEBUG log level

    Enables additional low level troubleshooting logging at DEBUG log level

    Use factory method #debugLogging to create.

  2. final case class Dispatcher(dispatcher: String) extends with Product with Serializable

    Configures the dispatcher to be used by streams.

    Configures the dispatcher to be used by streams.

    Use factory method ActorAttributes#dispatcher to create instances.

  3. final case class FuzzingMode(enabled: Boolean) extends with Product with Serializable

    Test utility: fuzzing mode means that GraphStage events are not processed in FIFO order within a fused subgraph, but randomized.

    Test utility: fuzzing mode means that GraphStage events are not processed in FIFO order within a fused subgraph, but randomized.

    Use factory method #fuzzingMode to create.

  4. final case class MaxFixedBufferSize(size: Int) extends with Product with Serializable

    Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated.

    Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated. This defaults to a large value because it is usually better to fail early when system memory is not sufficient to hold the buffer.

    Use factory method #maxFixedBufferSize to create.

  5. final case class OutputBurstLimit(limit: Int) extends with Product with Serializable

    Maximum number of elements emitted in batch if downstream signals large demand.

    Maximum number of elements emitted in batch if downstream signals large demand.

    Use factory method #outputBurstLimit to create.

  6. final case class StreamSubscriptionTimeout(timeout: FiniteDuration, mode: StreamSubscriptionTimeoutTerminationMode) extends with Product with Serializable

    Defines a timeout for stream subscription and what action to take when that hits.

    Defines a timeout for stream subscription and what action to take when that hits.

    Use factory method streamSubscriptionTimeout to create.

  7. final case class SupervisionStrategy(decider: Decider) extends with Product with Serializable
  8. final case class SyncProcessingLimit(limit: Int) extends with Product with Serializable

    Limit for number of messages that can be processed synchronously in stream to substream communication.

    Limit for number of messages that can be processed synchronously in stream to substream communication.

    Use factory method #syncProcessingLimit to create.

Value Members

  1. val IODispatcher: Dispatcher
  2. def createLogLevels(onElement: LogLevel): Attributes

    Java API

    Java API

    Configures log() operator log-levels to be used when logging onElement. Logging a certain operation can be completely disabled by using Attributes#logLevelOff.

  3. def createLogLevels(onElement: LogLevel, onFinish: LogLevel, onFailure: LogLevel): Attributes

    Java API

    Java API

    Configures log() operator log-levels to be used when logging. Logging a certain operation can be completely disabled by using Attributes#logLevelOff.

  4. def debugLogging(enabled: Boolean): Attributes

    Enables additional low level troubleshooting logging at DEBUG log level

  5. def dispatcher(dispatcher: String): Attributes

    Specifies the name of the dispatcher.

    Specifies the name of the dispatcher. This also adds an async boundary.

  6. def fuzzingMode(enabled: Boolean): Attributes

    Test utility: fuzzing mode means that GraphStage events are not processed in FIFO order within a fused subgraph, but randomized.

  7. def logLevels(onElement: LogLevel = Logging.DebugLevel, onFinish: LogLevel = Logging.DebugLevel, onFailure: LogLevel = Logging.ErrorLevel): Attributes

    Configures log() operator log-levels to be used when logging.

    Configures log() operator log-levels to be used when logging. Logging a certain operation can be completely disabled by using LogLevels.Off.

    See Attributes.createLogLevels for Java API

  8. def maxFixedBufferSize(size: Int): Attributes

    Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated.

    Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated. This defaults to a large value because it is usually better to fail early when system memory is not sufficient to hold the buffer.

  9. def outputBurstLimit(limit: Int): Attributes

    Maximum number of elements emitted in batch if downstream signals large demand.

  10. def streamSubscriptionTimeout(timeout: Duration, mode: StreamSubscriptionTimeoutTerminationMode): Attributes

    Java API: Defines a timeout for stream subscription and what action to take when that hits.

  11. def streamSubscriptionTimeout(timeout: FiniteDuration, mode: StreamSubscriptionTimeoutTerminationMode): Attributes

    Scala API: Defines a timeout for stream subscription and what action to take when that hits.

  12. def supervisionStrategy(decider: Decider): Attributes

    Scala API: Decides how exceptions from user are to be handled.

    Scala API: Decides how exceptions from user are to be handled.

    Operators supporting supervision strategies explicitly document that they do so. If a operator does not document support for these, it should be assumed it does not support supervision.

    For the Java API see #withSupervisionStrategy

  13. def syncProcessingLimit(limit: Int): Attributes

    Limit for number of messages that can be processed synchronously in stream to substream communication

  14. def withSupervisionStrategy(decider: Function[Throwable, Directive]): Attributes

    Java API: Decides how exceptions from application code are to be handled.

    Java API: Decides how exceptions from application code are to be handled.

    Operators supporting supervision strategies explicitly document that they do so. If a operator does not document support for these, it should be assumed it does not support supervision.

    For the Scala API see #supervisionStrategy