object ActorAttributes
Attributes for the Materializer. Note that more attributes defined in Attributes.
- Source
- Attributes.scala
- Alphabetic
- By Inheritance
- ActorAttributes
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class DebugLogging(enabled: Boolean) extends MandatoryAttribute 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.
- final case class Dispatcher(dispatcher: String) extends MandatoryAttribute 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.
- final case class FuzzingMode(enabled: Boolean) extends MandatoryAttribute 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.
- final case class MaxFixedBufferSize(size: Int) extends MandatoryAttribute 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.
- final case class OutputBurstLimit(limit: Int) extends MandatoryAttribute 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.
- final case class StreamSubscriptionTimeout(timeout: FiniteDuration, mode: StreamSubscriptionTimeoutTerminationMode) extends MandatoryAttribute 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. - final case class SupervisionStrategy(decider: Decider) extends MandatoryAttribute with Product with Serializable
- final case class SyncProcessingLimit(limit: Int) extends MandatoryAttribute 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val IODispatcher: Dispatcher
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- 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. - 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. - def debugLogging(enabled: Boolean): Attributes
Enables additional low level troubleshooting logging at DEBUG log level
- def dispatcher(dispatcher: String): Attributes
Specifies the name of the dispatcher.
Specifies the name of the dispatcher. This also adds an async boundary.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- 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.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def outputBurstLimit(limit: Int): Attributes
Maximum number of elements emitted in batch if downstream signals large demand.
- def streamSubscriptionTimeout(timeout: Duration, mode: StreamSubscriptionTimeoutTerminationMode): Attributes
Java API: Defines a timeout for stream subscription and what action to take when that hits.
- def streamSubscriptionTimeout(timeout: FiniteDuration, mode: StreamSubscriptionTimeoutTerminationMode): Attributes
Scala API: Defines a timeout for stream subscription and what action to take when that hits.
- 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
- def syncProcessingLimit(limit: Int): Attributes
Limit for number of messages that can be processed synchronously in stream to substream communication
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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