object ActorAttributes
Attributes for the ActorMaterializer. Note that more attributes defined in Attributes.
- Source
- Attributes.scala
- Alphabetic
- By Inheritance
- ActorAttributes
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class Dispatcher(dispatcher: String) extends MandatoryAttribute with Product with Serializable
- final case class SupervisionStrategy(decider: Decider) extends MandatoryAttribute with Product with Serializable
Value Members
- val IODispatcher: Dispatcher
-
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
dispatcher(dispatcher: String): Attributes
Specifies the name of the dispatcher.
Specifies the name of the dispatcher. This also adds an async boundary.
-
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
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.
-
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.
- object Dispatcher extends Serializable