object Attributes extends Serializable
Note that more attributes for the ActorMaterializer are defined in ActorAttributes.
- Source
- Attributes.scala
- Alphabetic
- By Inheritance
- Attributes
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait Attribute extends AnyRef
- final case class InputBuffer (initial: Int, max: Int) extends Attribute with Product with Serializable
- final case class LogLevels (onElement: LogLevel, onFinish: LogLevel, onFailure: LogLevel) extends Attribute with Product with Serializable
- final case class Name (n: String) extends Attribute with Product with Serializable
Value Members
-
def
apply(attribute: Attribute): Attributes
INTERNAL API
- val asyncBoundary: Attributes
-
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
extractName(mod: Module, default: String): String
Compute a name by concatenating all Name attributes that the given module has, returning the given default value if none are found.
-
def
inputBuffer(initial: Int, max: Int): Attributes
Specifies the initial and maximum size of the input buffer.
-
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
name(name: String): Attributes
Specifies the name of the operation.
Specifies the name of the operation. If the name is null or empty the name is ignored, i.e. #none is returned.
- val none: Attributes
- object AsyncBoundary extends Attribute with Product with Serializable
- object LogLevels extends Serializable