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 Attribute with Product with Serializable
- final case class SupervisionStrategy (decider: Decider) extends Attribute with Product with Serializable
Value Members
- val IODispatcher: Dispatcher
-
def
createLogLevels(onElement: LogLevel, onFinish: LogLevel, onFailure: LogLevel): Attributes
Java API
Java API
Configures
log()
stage log-levels to be used when logging. Logging a certain operation can be completely disabled by using LogLevels.Off.Passing in null as any of the arguments sets the level to its default value, which is:
Debug
foronElement
andonFinish
, andError
foronFailure
. -
def
dispatcher(dispatcher: String): Attributes
Specifies the name of the dispatcher.
-
def
logLevels(onElement: LogLevel = Logging.DebugLevel, onFinish: LogLevel = Logging.DebugLevel, onFailure: LogLevel = Logging.ErrorLevel): Attributes
Configures
log()
stage log-levels to be used when logging.Configures
log()
stage 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.
-
def
withSupervisionStrategy(decider: Function[Throwable, Directive]): Attributes
Java API: Decides how exceptions from application code are to be handled.